diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-02 21:25:47 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-12-03 04:56:54 +0000 |
commit | 0102033ca3dfdcef37cee5760fb6d4dc71418cab (patch) | |
tree | 2baac19fbbbbcd98460cd2de8dbc063e86d264cc /ui | |
parent | 6b7da34b4b8b6f5e6a0c7ee3bf4d2f3ec2af4333 (diff) |
Qt: Set main window font when changing profile
The font is part of the preferences.
Change-Id: Ibcdf1c06e92fc43547825b5fea9560e904003081
Reviewed-on: https://code.wireshark.org/review/12386
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/wireshark_application.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp index 46c0ce4a5c..f269123244 100644 --- a/ui/qt/wireshark_application.cpp +++ b/ui/qt/wireshark_application.cpp @@ -376,6 +376,8 @@ void WiresharkApplication::setConfigurationProfile(const gchar *profile_name) update_local_interfaces(); #endif + setMonospaceFont(prefs.gui_qt_font_name); + emit columnsChanged(); emit preferencesChanged(); emit recentFilesRead(); @@ -395,8 +397,6 @@ void WiresharkApplication::setConfigurationProfile(const gchar *profile_name) emit localInterfaceListChanged(); emit packetDissectionChanged(); -// user_font_apply(); - /* Update menus with new recent values */ // menu_recent_read_finished(); } |