diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2016-01-19 18:03:51 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-01-19 18:13:02 +0000 |
commit | 56bffba031dfd22aced907bcd44ec7c981a820f9 (patch) | |
tree | 63b847eed102e3d9da81a4aab72d634b1d55c9df /ui/qt/main_window.cpp | |
parent | 630c8140c93c5318854def7b10260dffd3cf6f35 (diff) |
Qt: Update window title when preferences changed.
When switching profile the prefs.gui_window_title may have changed
so ensure we update the main window title.
Change-Id: Ic1f9c7ac075d77c60cfbebb20624e597f7eb8449
Reviewed-on: https://code.wireshark.org/review/13418
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui/qt/main_window.cpp')
-rw-r--r-- | ui/qt/main_window.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index 8bfda67c0c..134c0af677 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -328,6 +328,7 @@ MainWindow::MainWindow(QWidget *parent) : connect(wsApp, SIGNAL(preferencesChanged()), this, SLOT(layoutToolbars())); connect(wsApp, SIGNAL(preferencesChanged()), this, SLOT(updatePreferenceActions())); connect(wsApp, SIGNAL(preferencesChanged()), this, SLOT(zoomText())); + connect(wsApp, SIGNAL(preferencesChanged()), this, SLOT(setTitlebarForCaptureFile())); connect(wsApp, SIGNAL(updateRecentItemStatus(const QString &, qint64, bool)), this, SLOT(updateRecentFiles())); updateRecentFiles(); |