[vlc-devel] commit: Qt: show advanced preferences in 2 cases: --qt-advanced-option and --advanced. (Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Jan 22 00:35:52 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 22 00:35:01 2009 +0100| [9b6f20a1b3a98229f337d1a25defbd6583731a34] | committer: Jean-Baptiste Kempf 

Qt: show advanced preferences in 2 cases: --qt-advanced-option and --advanced.

Close #2270.

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

 modules/gui/qt4/dialogs/preferences.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs/preferences.cpp b/modules/gui/qt4/dialogs/preferences.cpp
index 88268ed..429a656 100644
--- a/modules/gui/qt4/dialogs/preferences.cpp
+++ b/modules/gui/qt4/dialogs/preferences.cpp
@@ -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();




More information about the vlc-devel mailing list