From: Jean-Baptiste Kempf Date: Thu, 31 Jul 2008 19:29:10 +0000 (-0700) Subject: Preferences: don't show empty boxes ('zoom' box bug) X-Git-Tag: 0.9.0-test3~94 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=b5277240aa78e2515cc4f32ca4b582160b2ee8d8 Preferences: don't show empty boxes ('zoom' box bug) --- diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp index 69afc75ba2..d6cd6160c7 100644 --- a/modules/gui/qt4/components/complete_preferences.cpp +++ b/modules/gui/qt4/components/complete_preferences.cpp @@ -461,6 +461,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, i_line++; } box = new QGroupBox( qtr( p_item->psz_text ) ); + box->hide(); boxlayout = new QGridLayout(); } /* Only one hotkey control */ @@ -494,6 +495,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, if( box ) { box->setLayout( boxlayout ); + box->show(); layout->addWidget( box, i_line, 0, 1, -1 ); }