]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/playlist/standardpanel.cpp
A bunch of various fixes (encoding, refcount, layout)
[vlc] / modules / gui / qt4 / components / playlist / standardpanel.cpp
index 5a8457b7f3618562bf12dfe4770d4822d79d74c5..671f8bb99c493bb20ca65ebfffa0fd3ce5c1597d 100644 (file)
@@ -30,12 +30,10 @@ StandardPLPanel::StandardPLPanel( QWidget *_parent, intf_thread_t *_p_intf,
                                   playlist_item_t *p_root ):
                                   PLPanel( _parent, _p_intf )
 {
-   
     PLModel *model = new PLModel( p_playlist, p_root, -1, this );
-    QTreeView *view = new QTreeView( 0 );
+    QTreeView *view = new QTreeView( this );
     view->setModel(model);
     model->Rebuild();
-    view->show();
 }
 
 StandardPLPanel::~StandardPLPanel()