summaryrefslogtreecommitdiff
path: root/ui/qt/traffic_table_dialog.cpp
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2015-07-07 08:24:50 +0200
committerJörg Mayer <jmayer@loplof.de>2015-07-07 06:29:31 +0000
commit21754f43e1e7139bcd3d673714c2a191681a63e9 (patch)
treea0b54f5031191f77cff5baa51d7c74ed0a9a4414 /ui/qt/traffic_table_dialog.cpp
parentaca5f4ee2dc5121b822ed87859740b260eeaf759 (diff)
downloadwireshark-21754f43e1e7139bcd3d673714c2a191681a63e9.tar.gz
Starting to get rid of Q_UNUSED declarations for unused function parameters.
The official C++ way is to leave out the variable name instead. This has the advantage to be reliable: In one case a variable declared unused was later used. Change-Id: I1c96636f7fa7a621d1594d1e9cacaec75c561faa Reviewed-on: https://code.wireshark.org/review/9532 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'ui/qt/traffic_table_dialog.cpp')
-rw-r--r--ui/qt/traffic_table_dialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/qt/traffic_table_dialog.cpp b/ui/qt/traffic_table_dialog.cpp
index 908765df14..bc4af92086 100644
--- a/ui/qt/traffic_table_dialog.cpp
+++ b/ui/qt/traffic_table_dialog.cpp
@@ -144,9 +144,8 @@ QPushButton *TrafficTableDialog::enabledTypesPushButton() const
return ui->enabledTypesPushButton;
}
-void TrafficTableDialog::on_nameResolutionCheckBox_toggled(bool checked)
+void TrafficTableDialog::on_nameResolutionCheckBox_toggled(bool)
{
- Q_UNUSED(checked);
updateWidgets();
}