From: Francois Cartegnie Date: Tue, 11 Aug 2009 22:40:24 +0000 (+0200) Subject: GUI: sprefs_audio hide lastfm when not checked X-Git-Tag: 1.1.0-ff~4448 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7d45ebdb61b94784664c82deb2dc63cf07eca85a;p=vlc GUI: sprefs_audio hide lastfm when not checked --- diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index e167796f1a..076bd69d4b 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -347,10 +347,10 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, else ui.lastfm->setChecked( false ); - ui.lastfm_zone->setEnabled( ui.lastfm->isChecked() ); + ui.lastfm_zone->setVisible( ui.lastfm->isChecked() ); CONNECT( ui.lastfm, toggled( bool ), - ui.lastfm_zone, setEnabled( bool ) ); + ui.lastfm_zone, setVisible( bool ) ); CONNECT( ui.lastfm, stateChanged( int ), this, lastfm_Changed( int ) ); } diff --git a/modules/gui/qt4/ui/sprefs_audio.ui b/modules/gui/qt4/ui/sprefs_audio.ui index bdcb070356..b48cb1956e 100644 --- a/modules/gui/qt4/ui/sprefs_audio.ui +++ b/modules/gui/qt4/ui/sprefs_audio.ui @@ -11,6 +11,12 @@ 619 + + + 0 + 0 + + Form