Wireshark-commits: [Wireshark-commits] master a8faa04: Qt: Add dynamic menu support.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a8faa04234a5ac07c37da41d42ed943e8ebf5406
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
a8faa04 by Gerald Combs (gerald@xxxxxxxxxxxxx):
Qt: Add dynamic menu support.
Generalize the dynamic menu code and make it possible to connect
multiple types of actions to their corresponding slots.
Change-Id: Ib915ad5a666310e2a6e366fada006336820d1653
Reviewed-on: https://code.wireshark.org/review/9568
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from 131e0ab Handle setModule(NULL) more safely.
adds a8faa04 Qt: Add dynamic menu support.
Summary of changes:
epan/stat_groups.h | 2 +-
ui/qt/funnel_statistics.cpp | 4 +-
ui/qt/funnel_statistics.h | 2 +
ui/qt/main_window.cpp | 147 ++++++++++++++++++++++-----------------
ui/qt/main_window.h | 3 +-
ui/qt/main_window.ui | 15 ++++
ui/qt/tap_parameter_dialog.cpp | 4 +-
ui/qt/tap_parameter_dialog.h | 2 +
ui/qt/wireshark_application.cpp | 35 +++-------
ui/qt/wireshark_application.h | 7 +-
10 files changed, 122 insertions(+), 99 deletions(-)