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:
Alexis La Goutte 2016-06-10 08:42:41 +02:00 committed by Michal Labedzki
parent e53a1adf49
commit 2df337d538
1 changed files with 2 additions and 6 deletions

View File

@ -192,19 +192,15 @@ void BluetoothHciSummaryDialog::tableContextMenu(const QPoint &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++) {
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++) {
ui->tableTreeWidget->resizeColumnToContents(i);
}