vlc | branch: master | Francois Cartegnie <[email protected]> | Fri Jun 8 22:47:56 2012 +0200| [60e3f3c472620a11168e9be705b0e21c99ccd05b] | committer: Francois Cartegnie
Qt: PLSelector: expand root level > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=60e3f3c472620a11168e9be705b0e21c99ccd05b --- modules/gui/qt4/components/playlist/selector.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp index 3bce22c..07897ce 100644 --- a/modules/gui/qt4/components/playlist/selector.cpp +++ b/modules/gui/qt4/components/playlist/selector.cpp @@ -142,6 +142,10 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf ) createItems(); + /* Expand at least to show level 2 */ + for ( int i = 0; i < topLevelItemCount(); i++ ) + expandItem( topLevelItem( i ) ); + /*** * We need to react to both clicks and activation (enter-key) here. * We use curItem to avoid rebuilding twice. _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
