Wireshark-commits: [Wireshark-commits] master 053f792: Fix the Qt main window popup behavior.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=053f792d307a61ec86746ee871396e1798c88372
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
053f792 by Gerald Combs (gerald@xxxxxxxx):
Fix the Qt main window popup behavior.
By default QMainWindow::createPopupMenu shows a checkable list of
toolbars which aren't synced with our actions under the View menu.
Replace it with a version that handles all the main window widgets.
Change-Id: I5f5c23880133e97e815d3bbbf19ea3bacc482096
Reviewed-on: https://code.wireshark.org/review/8958
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from 26dacfc Qt: Add protocol preferences menus.
adds 053f792 Fix the Qt main window popup behavior.
Summary of changes:
ui/qt/main_window.cpp | 14 ++++++++++++++
ui/qt/main_window.h | 2 ++
ui/qt/main_window.ui | 5 ++++-
ui/qt/main_window_slots.cpp | 9 +++++++++
4 files changed, 29 insertions(+), 1 deletion(-)