Qt: Change wording of filter button context menu
Change the wording to make it more like the other option menus Change-Id: I0d071aecd80131e5304737a1746f3a41f546c8e4 Reviewed-on: https://code.wireshark.org/review/22441 Petri-Dish: Roland Knall <rknall@gmail.com> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com>
This commit is contained in:
parent
a8ec8a3a6b
commit
9731b50bc5
|
@ -4049,17 +4049,17 @@ void MainWindow::filterToolbarCustomMenuHandler(const QPoint& pos)
|
|||
|
||||
QMenu * filterMenu = new QMenu(this);
|
||||
|
||||
QAction *actFilter = filterMenu->addAction(tr("Filter Preferences..."));
|
||||
QAction *actFilter = filterMenu->addAction(tr("Filter Button Preferences..."));
|
||||
connect(actFilter, SIGNAL(triggered()), this, SLOT(filterToolbarShowPreferences()));
|
||||
actFilter->setData(filterAction->data());
|
||||
filterMenu->addSeparator();
|
||||
QAction * actEdit = filterMenu->addAction(tr("Edit Filter"));
|
||||
QAction * actEdit = filterMenu->addAction(tr("Edit"));
|
||||
connect(actEdit, SIGNAL(triggered()), this, SLOT(filterToolbarEditFilter()));
|
||||
actEdit->setData(filterAction->data());
|
||||
QAction * actDisable = filterMenu->addAction(tr("Disable Filter"));
|
||||
QAction * actDisable = filterMenu->addAction(tr("Disable"));
|
||||
connect(actDisable, SIGNAL(triggered()), this, SLOT(filterToolbarDisableFilter()));
|
||||
actDisable->setData(filterAction->data());
|
||||
QAction * actRemove = filterMenu->addAction(tr("Remove Filter"));
|
||||
QAction * actRemove = filterMenu->addAction(tr("Remove"));
|
||||
connect(actRemove, SIGNAL(triggered()), this, SLOT(filterToolbarRemoveFilter()));
|
||||
actRemove->setData(filterAction->data());
|
||||
|
||||
|
|
Loading…
Reference in New Issue