[vlc-commits] Qt: Simple Preferences: conditionally hide the whole groupbox, not

Francois Cartegnie git at videolan.org
Fri Jun 21 13:55:39 CEST 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jun 21 13:53:26 2013 +0200| [3392ff1e732347b1f8cf0163ba0325eca58622e7] | committer: Francois Cartegnie

Qt: Simple Preferences: conditionally hide the whole groupbox, not
just widgets

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3392ff1e732347b1f8cf0163ba0325eca58622e7
---

 modules/gui/qt4/components/simple_preferences.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index c1ff6ed..5c2dc60 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -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() );



More information about the vlc-commits mailing list