]> git.sesse.net Git - vlc/commitdiff
Qt: reparent layout
authorFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 8 Sep 2011 05:04:58 +0000 (07:04 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 8 Sep 2011 05:04:58 +0000 (07:04 +0200)
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 );