[vlc-commits] commit: Qt4: user system font in preferences labels (Ilkka Ollakka )

git at videolan.org git at videolan.org
Sun Jul 11 15:28:32 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Jul 11 16:15:23 2010 +0300| [8273b8bb7a28a17bf6307d233483261f1d2a40cf] | committer: Ilkka Ollakka 

Qt4: user system font in preferences labels

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8273b8bb7a28a17bf6307d233483261f1d2a40cf
---

 .../gui/qt4/components/complete_preferences.cpp    |    1 -
 modules/gui/qt4/components/simple_preferences.cpp  |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp
index f8dd3d8..dd14716 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<QWidget*>(0) );
     titleFont.setPointSize( titleFont.pointSize() + 6 );
-    titleFont.setFamily( "Verdana" );
     titleLabel->setFont( titleFont );
 
     // Title <hr>
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index f56468a..6aaa64f 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<QWidget*>(0) );
     labelFont.setPointSize( labelFont.pointSize() + 6 );
-    labelFont.setFamily( "Verdana" );
     panel_label->setFont( labelFont );
 
     // Title <hr>



More information about the vlc-commits mailing list