forked from osmocom/wireshark
Bluetooth HCI (Qt): Remove Q_UNUSED
See g21754f43e for detail There is always some other Q_UNUSED but include on #if/#endif... Change-Id: Ib2283660c91787acbf6392841faa3db6aed39438 Reviewed-on: https://code.wireshark.org/review/15803 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
This commit is contained in:
parent
e53a1adf49
commit
2df337d538
|
@ -192,19 +192,15 @@ void BluetoothHciSummaryDialog::tableContextMenu(const QPoint &pos)
|
||||||
context_menu_.exec(ui->tableTreeWidget->viewport()->mapToGlobal(pos));
|
context_menu_.exec(ui->tableTreeWidget->viewport()->mapToGlobal(pos));
|
||||||
}
|
}
|
||||||
|
|
||||||
void BluetoothHciSummaryDialog::tableItemExpanded(QTreeWidgetItem *item)
|
void BluetoothHciSummaryDialog::tableItemExpanded(QTreeWidgetItem *)
|
||||||
{
|
{
|
||||||
Q_UNUSED(item);
|
|
||||||
|
|
||||||
for (int i = 0; i < ui->tableTreeWidget->columnCount(); i++) {
|
for (int i = 0; i < ui->tableTreeWidget->columnCount(); i++) {
|
||||||
ui->tableTreeWidget->resizeColumnToContents(i);
|
ui->tableTreeWidget->resizeColumnToContents(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void BluetoothHciSummaryDialog::tableItemCollapsed(QTreeWidgetItem *item)
|
void BluetoothHciSummaryDialog::tableItemCollapsed(QTreeWidgetItem *)
|
||||||
{
|
{
|
||||||
Q_UNUSED(item);
|
|
||||||
|
|
||||||
for (int i = 0; i < ui->tableTreeWidget->columnCount(); i++) {
|
for (int i = 0; i < ui->tableTreeWidget->columnCount(); i++) {
|
||||||
ui->tableTreeWidget->resizeColumnToContents(i);
|
ui->tableTreeWidget->resizeColumnToContents(i);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue