]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/simple_preferences.cpp
Qt4 - Preferences, don't remove the widgets to re-add them! Just use hide/show.....
[vlc] / modules / gui / qt4 / components / simple_preferences.cpp
index ec27c5e74962133bcb6baf38f99b280fc27d90c5..03ce8619148ae15be794a90ad973912ca809f810 100644 (file)
@@ -381,7 +381,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
 void SPrefsPanel::updateAudioOptions( int number)
 {
     QString value = audioOutput->itemData( number ).toString();
-    msg_Dbg( p_intf, "I was here, waiting for funman, %s", qtu( value ) );
 
 #ifndef WIN32
     oss_options->hide();
@@ -408,6 +407,7 @@ void SPrefsPanel::apply()
 {
     msg_Dbg( p_intf, "Trying to save the %i simple panel", number );
     
+    /* Generic save for ever panel */
     QList<ConfigControl *>::Iterator i;
     for( i = controls.begin() ; i != controls.end() ; i++ )
     {
@@ -431,15 +431,9 @@ void SPrefsPanel::apply()
     if( number == SPrefsInterface )
     {
         if( skinInterfaceButton->isChecked() )
-        {
-            msg_Dbg( p_intf, "hehehe skins" );
             config_PutPsz( p_intf, "intf", "skins2" );
-        }
         if( qtInterfaceButton->isChecked() )
-        {
-            msg_Dbg( p_intf, "hhhheeee qt" );
             config_PutPsz( p_intf, "intf", "qt4" );
-        }
     }
 }