Commit 8ae75f05 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: don't add empty groupbox in preferences

This was the case with the empty section in ddummy
parent 87430e95
...@@ -638,7 +638,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -638,7 +638,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
p_item->i_type == CONFIG_SUBCATEGORY ) ) p_item->i_type == CONFIG_SUBCATEGORY ) )
&& ( ++p_item < p_end ) ); && ( ++p_item < p_end ) );
if( box ) if( box && i_boxline > 0 )
{ {
box->setLayout( boxlayout ); box->setLayout( boxlayout );
box->show(); box->show();
......
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