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>
This commit is contained in:
Stig Bjørlykke 2015-12-02 21:25:47 +01:00 committed by Anders Broman
parent 6b7da34b4b
commit 0102033ca3
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}