From 4f31c7844b1cf53915e47dbe5b514852acb94ba5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Fri, 19 Oct 2007 10:34:46 +0000 Subject: [PATCH] qt4: control_(Add/Remove/Exists) are not ready yet. (and btw, the previous commit also introduced last.fm settings in the simple preferences) --- modules/gui/qt4/components/simple_preferences.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index 1ae8b82b0f..808a358209 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -34,7 +34,6 @@ #include "ui/sprefs_interface.h" #include -#include "vlc_control.h" #include #include @@ -245,13 +244,13 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, volNormalizer ); CONFIG_GENERIC( "audio-visual" , Module , NULL, visualisation); - +#if 0 if( control_Exists( VLC_OBJECT( p_intf ), "audioscrobbler" ) ) ui.lastfm->setCheckState( Qt::Checked ); else ui.lastfm->setCheckState( Qt::Unchecked ); CONNECT( ui.lastfm, stateChanged( int ), this , lastfm_Changed( int ) ); - +#endif CONFIG_GENERIC( "lastfm-username", String, ui.lastfm_user_label, lastfm_user_edit ); CONFIG_GENERIC( "lastfm-password", String, ui.lastfm_pass_label, @@ -390,8 +389,10 @@ void SPrefsPanel::clean() void SPrefsPanel::lastfm_Changed( int i_state ) { +#if 0 if( i_state == Qt::Checked ) control_Add( VLC_OBJECT( p_intf ), "audioscrobbler" ); else if( i_state == Qt::Unchecked ) control_Remove( VLC_OBJECT( p_intf ), "audioscrobbler" ); +#endif } -- 2.39.2