From b5277240aa78e2515cc4f32ca4b582160b2ee8d8 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Thu, 31 Jul 2008 12:29:10 -0700 Subject: [PATCH] Preferences: don't show empty boxes ('zoom' box bug) --- modules/gui/qt4/components/complete_preferences.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 ); } -- 2.39.2