Commit b2cfa07f authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: preferences: expand root level.

We have only 5 items, and lots of empty space.
Let's save the user 1 click and give him a better overall view
of categories.
parent 48d4c487
...@@ -131,6 +131,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) : ...@@ -131,6 +131,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
current_item->setData( 0, Qt::UserRole, current_item->setData( 0, Qt::UserRole,
qVariantFromValue( data ) ); qVariantFromValue( data ) );
addTopLevelItem( current_item ); addTopLevelItem( current_item );
expandItem( current_item );
break; break;
/* This is a subcategory */ /* This is a subcategory */
......
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