Commit a83fefd5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: put modules list in 2 columns

Close #5141
parent 6d04a56f
......@@ -660,6 +660,7 @@ ModuleListConfigControl::ModuleListConfigControl( vlc_object_t *_p_this,
VStringConfigControl( _p_this, _p_item, _parent )
{
groupBox = NULL;
/* Special Hack */
if( !p_item->psz_text ) return;
......@@ -671,7 +672,11 @@ ModuleListConfigControl::ModuleListConfigControl( vlc_object_t *_p_this,
int boxline = 0;
foreach ( checkBoxListItem *it, modules )
layoutGroupBox->addWidget( it->checkBox, boxline++, 0 );
{
layoutGroupBox->addWidget( it->checkBox, boxline / 2, boxline % 2 );
boxline++;
}
layoutGroupBox->addWidget( text, boxline, 0 );
if( !l )
......
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