From: Jean-Baptiste Kempf Date: Fri, 18 Jan 2008 06:23:34 +0000 (+0000) Subject: Qt4 - Preferences. Fix a small bug in the layout of the complete preferences that... X-Git-Tag: 0.9.0-test0~3394 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2c922d156d81cf2457d452644d3b93f7612bab6f;p=vlc Qt4 - Preferences. Fix a small bug in the layout of the complete preferences that happened in the Video section. --- diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp index ce6db230c2..45a0b2000c 100644 --- a/modules/gui/qt4/components/complete_preferences.cpp +++ b/modules/gui/qt4/components/complete_preferences.cpp @@ -434,10 +434,10 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, if( box ) { box->setLayout( boxlayout ); - layout->addWidget( box, i_line, 0, 1, 2 ); + layout->addWidget( box, i_line, 0, 1, -1 ); i_line++; } - box = new QGroupBox( qtr(p_item->psz_text) ); + box = new QGroupBox( qtr( p_item->psz_text ) ); boxlayout = new QGridLayout(); } /* Only one hotkey control */ @@ -471,7 +471,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, if( box ) { box->setLayout( boxlayout ); - layout->addWidget( box, i_line, 0, 1, 2 ); + layout->addWidget( box, i_line, 0, 1, -1 ); } module_Put( p_module );