aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/protocol_preferences_menu.cpp
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2015-10-15 17:01:02 +0200
committerAnders Broman <a.broman58@gmail.com>2015-10-16 06:40:52 +0000
commit1e623d6985bb5ed54d56df288b305517eb6b1bf9 (patch)
treed26b6cea1c0067bf58774801171817490624788e /ui/qt/protocol_preferences_menu.cpp
parentec44fbd575a0004b885415d0ba33a28237cfd052 (diff)
qt: remove dead code
Change-Id: I45c2863d77858e488aa415708d77033787e45aee Reviewed-on: https://code.wireshark.org/review/11060 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/protocol_preferences_menu.cpp')
-rw-r--r--ui/qt/protocol_preferences_menu.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/qt/protocol_preferences_menu.cpp b/ui/qt/protocol_preferences_menu.cpp
index d64131e15d..2cd660d48b 100644
--- a/ui/qt/protocol_preferences_menu.cpp
+++ b/ui/qt/protocol_preferences_menu.cpp
@@ -279,10 +279,6 @@ void ProtocolPreferencesMenu::addMenuItem(preference *pref)
connect(mpa, SIGNAL(triggered(bool)), this, SLOT(modulePreferencesTriggered()));
break;
}
-
- if (pref->type != PREF_ENUM) {
- } else {
- }
}
void ProtocolPreferencesMenu::disableProtocolTriggered()