[vlc-devel] commit: Qt: restore system's default theme without having to guess ( Francois Cartegnie )

git version control git at videolan.org
Tue Sep 8 10:36:27 CEST 2009


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Sep  8 00:43:42 2009 +0200| [43ee24810c7130a8214e65e0a55f568675215548] | committer: Jean-Baptiste Kempf 

Qt: restore system's default theme without having to guess

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index ee7d4ee..f428a5d 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -510,6 +510,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             optionWidgets.append( ui.skins );
             optionWidgets.append( ui.qt4 );
 #if !defined(NDEBUG) || !defined( WIN32)
+            ui.stylesCombo->addItem( qtr("System's default") );
             ui.stylesCombo->addItems( QStyleFactory::keys() );
             ui.stylesCombo->setCurrentIndex( ui.stylesCombo->findText(
                         getSettings()->value( "MainWindow/QtStyle", "" ).toString() ) );




More information about the vlc-devel mailing list