[vlc-commits] Qt: fix the LocationBar display by default

Jean-Baptiste Kempf git at videolan.org
Fri Mar 11 23:23:53 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Mar 11 22:39:51 2011 +0100| [c7b21661410bb5f76e048ca7da1f46d33ab31493] | committer: Jean-Baptiste Kempf

Qt: fix the LocationBar display by default

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

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

diff --git a/modules/gui/qt4/components/playlist/playlist.cpp b/modules/gui/qt4/components/playlist/playlist.cpp
index 00e34e7..2e09393 100644
--- a/modules/gui/qt4/components/playlist/playlist.cpp
+++ b/modules/gui/qt4/components/playlist/playlist.cpp
@@ -138,6 +138,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
              mainView, search( const QString& ) );
     CONNECT( searchEdit, searchDelayedChanged( const QString& ),
              mainView, searchDelayed( const QString & ) );
+
     CONNECT( mainView, viewChanged( const QModelIndex& ),
              this, changeView( const QModelIndex &) );
     layout->setColumnStretch( 3, 3 );
@@ -145,6 +146,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
     /* Connect the activation of the selector to a redefining of the PL */
     DCONNECT( selector, activated( playlist_item_t * ),
               mainView, setRoot( playlist_item_t * ) );
+    mainView->setRoot( p_root );
 
 
     split = new PlaylistSplitter( this );



More information about the vlc-commits mailing list