Commit 4ee0b539 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

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.
(cherry picked from commit b2cfa07fb0899f5b9370e8dd4792108474071024)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 34519a21
......@@ -131,6 +131,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
current_item->setData( 0, Qt::UserRole,
qVariantFromValue( data ) );
addTopLevelItem( current_item );
expandItem( current_item );
break;
/* 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