From 8273b8bb7a28a17bf6307d233483261f1d2a40cf Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Sun, 11 Jul 2010 16:15:23 +0300 Subject: [PATCH] Qt4: user system font in preferences labels --- modules/gui/qt4/components/complete_preferences.cpp | 1 - modules/gui/qt4/components/simple_preferences.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp index f8dd3d80c0..dd1471682d 100644 --- a/modules/gui/qt4/components/complete_preferences.cpp +++ b/modules/gui/qt4/components/complete_preferences.cpp @@ -406,7 +406,6 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, QLabel *titleLabel = new QLabel( head ); QFont titleFont = QApplication::font( static_cast(0) ); titleFont.setPointSize( titleFont.pointSize() + 6 ); - titleFont.setFamily( "Verdana" ); titleLabel->setFont( titleFont ); // Title
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index f56468a850..6aaa64fc9b 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -193,7 +193,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, QLabel *panel_label = new QLabel; QFont labelFont = QApplication::font( static_cast(0) ); labelFont.setPointSize( labelFont.pointSize() + 6 ); - labelFont.setFamily( "Verdana" ); panel_label->setFont( labelFont ); // Title
-- 2.39.2