diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-03 10:22:23 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-03 14:58:58 +0000 |
commit | d7ddebbfb23f39593b1c7686d1f2802c416d17f4 (patch) | |
tree | 9f0b6cfc375bd3e20b6f0fabcc2c3589faaac2a2 /ui/qt/main_window.h | |
parent | 28bb60fd485615e19b631411ce9706050359d76f (diff) |
Qt: Update menus with new recent settings when changing profile
Update all View options to new recent settings to reflect the changes.
Also show/hide toolbars and packet panes accordingly.
Change-Id: Idb07bd5c51c01810b1f4467d2401936dc533731b
Reviewed-on: https://code.wireshark.org/review/12405
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r-- | ui/qt/main_window.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h index a6afdf560e..bb9d6b50d9 100644 --- a/ui/qt/main_window.h +++ b/ui/qt/main_window.h @@ -34,6 +34,7 @@ #include <epan/prefs.h> #include <epan/plugin_if.h> +#include <epan/timestamp.h> #ifdef HAVE_LIBPCAP #include "capture_opts.h" @@ -142,6 +143,8 @@ private: FunnelStatistics *funnel_statistics_; QList<QPair<QAction *, bool> > freeze_actions_; QWidget *freeze_focus_; + QMap<QAction *, ts_type> td_actions; + QMap<QAction *, ts_precision> tp_actions; bool capture_stopping_; bool capture_filter_valid_; @@ -231,6 +234,7 @@ public slots: void applyRecentPaneGeometry(); void layoutToolbars(); void updatePreferenceActions(); + void updateRecentActions(); void captureCapturePrepared(capture_session *); void captureCaptureUpdateStarted(capture_session *); |