vlc/vlc-2.0 | branch: master | Francois Cartegnie <[email protected]> | Sat Feb 
25 20:28:00 2012 +0100| [4ee0b539c7bf58be9e5b70d378e662d6b9747120] | committer: 
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: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=4ee0b539c7bf58be9e5b70d378e662d6b9747120
---

 .../gui/qt4/components/complete_preferences.cpp    |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/complete_preferences.cpp 
b/modules/gui/qt4/components/complete_preferences.cpp
index 8aaf971..b29335d 100644
--- a/modules/gui/qt4/components/complete_preferences.cpp
+++ b/modules/gui/qt4/components/complete_preferences.cpp
@@ -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 */

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to