vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Tue Aug 30 01:47:42 2011 +0200| [8ae75f05408b152c174b68d1ad2c86e8a101e08f] | committer: Jean-Baptiste Kempf
Qt: don't add empty groupbox in preferences This was the case with the empty section in ddummy > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8ae75f05408b152c174b68d1ad2c86e8a101e08f --- .../gui/qt4/components/complete_preferences.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp index d0c7592..8aaf971 100644 --- a/modules/gui/qt4/components/complete_preferences.cpp +++ b/modules/gui/qt4/components/complete_preferences.cpp @@ -638,7 +638,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, p_item->i_type == CONFIG_SUBCATEGORY ) ) && ( ++p_item < p_end ) ); - if( box ) + if( box && i_boxline > 0 ) { box->setLayout( boxlayout ); box->show(); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
