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>
This commit is contained in:
Stig Bjørlykke 2020-07-02 12:32:58 +02:00 committed by Anders Broman
parent cd566f4a6a
commit dd247d821e
1 changed files with 1 additions and 1 deletions

View File

@ -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));