]> git.sesse.net Git - vlc/commitdiff
Preferences: don't show empty boxes ('zoom' box bug)
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 31 Jul 2008 19:29:10 +0000 (12:29 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 31 Jul 2008 19:29:59 +0000 (12:29 -0700)
modules/gui/qt4/components/complete_preferences.cpp

index 69afc75ba2905c233139ecfc60e9888575daeab5..d6cd6160c7e0c5678fc38933337286147623d41f 100644 (file)
@@ -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 );
     }