From 2c922d156d81cf2457d452644d3b93f7612bab6f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Fri, 18 Jan 2008 06:23:34 +0000 Subject: [PATCH] Qt4 - Preferences. Fix a small bug in the layout of the complete preferences that happened in the Video section. --- modules/gui/qt4/components/complete_preferences.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.39.2