]> git.sesse.net Git - vlc/commitdiff
Qt: show advanced preferences in 2 cases: --qt-advanced-option and --advanced.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 21 Jan 2009 23:35:01 +0000 (00:35 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 21 Jan 2009 23:35:01 +0000 (00:35 +0100)
Close #2270.

modules/gui/qt4/dialogs/preferences.cpp

index 88268edc6bf961a5e0a570f53d902d6c4f1b026c..429a6569302d534c66efc65751e49cf6ebab56c3 100644 (file)
@@ -114,7 +114,7 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
     setMaximumHeight( p_intf->p_sys->i_screenHeight );
     for( int i = 0; i < SPrefsMax ; i++ ) simple_panels[i] = NULL;
 
-    if( config_GetInt( p_intf, "qt-advanced-pref" ) == 1 )
+    if( config_GetInt( p_intf, "qt-advanced-pref" ) || config_GetInt( p_intf, "advanced" ) )
         setAdvanced();
     else
         setSmall();