Don't show unsaveable options in the preferences
[vlc.git] / modules / gui / qt4 / components / preferences_widgets.cpp
index b03a010..bf28940 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 )
     {