From 8c01ae6daeb131fe0c1b5e337a07f60e911b65d4 Mon Sep 17 00:00:00 2001 From: Francois Cartegnie Date: Thu, 8 Sep 2011 07:04:58 +0200 Subject: [PATCH] Qt: reparent layout --- modules/gui/qt4/components/playlist/playlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/qt4/components/playlist/playlist.cpp b/modules/gui/qt4/components/playlist/playlist.cpp index b95888643e..ffdb78f8fc 100644 --- a/modules/gui/qt4/components/playlist/playlist.cpp +++ b/modules/gui/qt4/components/playlist/playlist.cpp @@ -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 ); -- 2.39.2