]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/playlist/playlist.cpp
Qt: reparent layout
[vlc] / modules / gui / qt4 / components / playlist / playlist.cpp
index b95888643e544f0f9632380bd59f184af30a03b4..ffdb78f8fc8123b193a0cf515bbc7dfe35f7f874 100644 (file)
@@ -110,7 +110,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
     CONNECT( locationBar, invoked( const QModelIndex & ),
              mainView, browseInto( const QModelIndex & ) );
 
-    QHBoxLayout *topbarLayout = new QHBoxLayout( this );
+    QHBoxLayout *topbarLayout = new QHBoxLayout();
     layout->addLayout( topbarLayout, 0, 1 );
     topbarLayout->setSpacing( 10 );