forked from osmocom/wireshark
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:
parent
cd566f4a6a
commit
dd247d821e
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue