]> git.sesse.net Git - vlc/commitdiff
Qt: Simple Preferences: conditionally hide the whole groupbox, not
authorFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 21 Jun 2013 11:53:26 +0000 (13:53 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 21 Jun 2013 11:55:25 +0000 (13:55 +0200)
just widgets

modules/gui/qt4/components/simple_preferences.cpp

index c1ff6ed0127ee9cc98a7af44a99f6f964b8e0a58..5c2dc605ca8b3ed53815198e125a51a0707c68ee 100644 (file)
@@ -529,8 +529,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
 #ifdef _WIN32
             BUTTONACT( ui.assoButton, assoDialog() );
 #else
-            ui.assoButton->hide();
-            ui.assocLabel->hide();
+            ui.osGroupBox->hide();
 #endif
 #ifdef MEDIA_LIBRARY
             BUTTONACT( ui.sqlMLbtn, configML() );