]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/preferences_widgets.cpp
Don't show unsaveable options in the preferences
[vlc] / modules / gui / qt4 / components / preferences_widgets.cpp
index b03a010a9632edf198cd342e02020c71e7d23196..bf289406f99a5af1965be9fa488e2144699a12d9 100644 (file)
@@ -74,7 +74,7 @@ ConfigControl *ConfigControl::createControl( vlc_object_t *p_this,
                                              QGridLayout *l, int &line )
 {
     ConfigControl *p_control = NULL;
-    if( p_item->psz_current ) return NULL;
+    if( p_item->psz_current || p_item->b_unsaveable ) return NULL;
 
     switch( p_item->i_type )
     {