[vlc-devel] commit: Preferences: don't show empty boxes ('zoom' box bug) ( Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Jul 31 21:27:27 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jul 31 12:29:10 2008 -0700| [b5277240aa78e2515cc4f32ca4b582160b2ee8d8]

Preferences: don't show empty boxes ('zoom' box bug)

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

 .../gui/qt4/components/complete_preferences.cpp    |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp
index 69afc75..d6cd616 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 );
     }
 




More information about the vlc-devel mailing list