Commit 2c922d15 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Preferences. Fix a small bug in the layout of the complete preferences...

Qt4 - Preferences. Fix a small bug in the layout of the complete preferences that happened in the Video section.

parent 34eec970
...@@ -434,10 +434,10 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -434,10 +434,10 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
if( box ) if( box )
{ {
box->setLayout( boxlayout ); box->setLayout( boxlayout );
layout->addWidget( box, i_line, 0, 1, 2 ); layout->addWidget( box, i_line, 0, 1, -1 );
i_line++; i_line++;
} }
box = new QGroupBox( qtr(p_item->psz_text) ); box = new QGroupBox( qtr( p_item->psz_text ) );
boxlayout = new QGridLayout(); boxlayout = new QGridLayout();
} }
/* Only one hotkey control */ /* Only one hotkey control */
...@@ -471,7 +471,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -471,7 +471,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
if( box ) if( box )
{ {
box->setLayout( boxlayout ); box->setLayout( boxlayout );
layout->addWidget( box, i_line, 0, 1, 2 ); layout->addWidget( box, i_line, 0, 1, -1 );
} }
module_Put( p_module ); module_Put( p_module );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment