diff options
author | Joerg Mayer <jmayer@loplof.de> | 2015-07-07 08:24:50 +0200 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2015-07-07 06:29:31 +0000 |
commit | 21754f43e1e7139bcd3d673714c2a191681a63e9 (patch) | |
tree | a0b54f5031191f77cff5baa51d7c74ed0a9a4414 /ui/qt/traffic_table_dialog.cpp | |
parent | aca5f4ee2dc5121b822ed87859740b260eeaf759 (diff) | |
download | wireshark-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.cpp | 3 |
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(); } |