aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2017-09-16 18:19:23 +0400
committerJörg Mayer <jmayer@loplof.de>2017-09-16 14:27:31 +0000
commitbe995cc12075e3ecbc3aeb2356835df8c75a220b (patch)
tree90f3a2ad4d65e7d76cbfdf98ee285ce32caf06ee /plugins
parent27b074a61580fbf0e53debf58d49f2728cffe735 (diff)
_U_ is wrong in c++, as is Q_UNUSED (in most cases).
The correct way is to not name the variable. Change-Id: Ic016f1b9161db6b4cc3f6534c853a1f50e31aa2b Reviewed-on: https://code.wireshark.org/review/23569 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pluginifdemo/ui/pluginifdemo_about.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/pluginifdemo/ui/pluginifdemo_about.cpp b/plugins/pluginifdemo/ui/pluginifdemo_about.cpp
index 3f794aa..048bcc1 100644
--- a/plugins/pluginifdemo/ui/pluginifdemo_about.cpp
+++ b/plugins/pluginifdemo/ui/pluginifdemo_about.cpp
@@ -42,9 +42,8 @@ PluginIFDemo_About::~PluginIFDemo_About()
delete ui;
}
-void PluginIFDemo_About::on_buttonBox_clicked(QAbstractButton *button)
+void PluginIFDemo_About::on_buttonBox_clicked(QAbstractButton *)
{
- Q_UNUSED(button);
this->close();
}