From: Jean-Baptiste Kempf Date: Mon, 29 Oct 2007 23:57:30 +0000 (+0000) Subject: Qt4 - Remove excessive debug. X-Git-Tag: 0.9.0-test0~4752 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=00e3654a317f56cf2c89d20878348b6b6086bd38;p=vlc Qt4 - Remove excessive debug. --- diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index ec27c5e749..9e16f5b7c9 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -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::Iterator i; for( i = controls.begin() ; i != controls.end() ; i++ ) { diff --git a/modules/gui/qt4/dialogs/preferences.cpp b/modules/gui/qt4/dialogs/preferences.cpp index 1c405d1384..7910fa8167 100644 --- a/modules/gui/qt4/dialogs/preferences.cpp +++ b/modules/gui/qt4/dialogs/preferences.cpp @@ -268,15 +268,13 @@ void PrefsDialog::apply() { if( small->isChecked() && simple_tree ) { - msg_Dbg( p_intf, "I was here, helping you or not..."); for( int i = 0 ; i< SPrefsMax; i++ ){ - if( simple_panels[i] ){ simple_panels[i]->apply(); - msg_Dbg( p_intf, "I was here, helping you or not...2");} - } + if( simple_panels[i] )simple_panels[i]->apply(); + } } else if( all->isChecked() && advanced_tree ) advanced_tree->applyAll(); - msg_Dbg( p_intf, "I was here, helping your"); + config_SaveConfigFile( p_intf, NULL ); /* Delete the other panel in order to force its reload after clicking