aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2020-07-02 12:32:58 +0200
committerAnders Broman <a.broman58@gmail.com>2020-07-02 11:17:09 +0000
commitdd247d821e8468c3059bee54272c6b2f08a9fea2 (patch)
treedc62ad7b84e182473378066285d34e2eae374603 /ui
parentcd566f4a6a37682e45904830c541d8ac9d3737cf (diff)
Qt: Remove ellipsis from "Disable protocol" menu item
The protocol preferences menu item for disabling the protocol does not bring up a new dialog, so remove the ellipsis. Change-Id: I210bd6d5f76ce240f1d2a2d1a852e176a48ea1f0 Reviewed-on: https://code.wireshark.org/review/37667 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/protocol_preferences_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/protocol_preferences_menu.cpp b/ui/qt/protocol_preferences_menu.cpp
index 0df5d651ab..a9b76297d0 100644
--- a/ui/qt/protocol_preferences_menu.cpp
+++ b/ui/qt/protocol_preferences_menu.cpp
@@ -158,7 +158,7 @@ void ProtocolPreferencesMenu::setModule(const QString module_name)
return;
}
- QAction *disable_action = new QAction(tr("Disable %1" UTF8_HORIZONTAL_ELLIPSIS).arg(short_name), this);
+ QAction *disable_action = new QAction(tr("Disable %1").arg(short_name), this);
connect(disable_action, SIGNAL(triggered(bool)), this, SLOT(disableProtocolTriggered()));
disable_action->setDisabled(!proto_can_toggle_protocol(proto_id));