[vlc-commits] Qt: reparent layout
Francois Cartegnie
git at videolan.org
Thu Sep 8 07:04:06 CEST 2011
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep 8 07:04:58 2011 +0200| [8c01ae6daeb131fe0c1b5e337a07f60e911b65d4] | committer: Francois Cartegnie
Qt: reparent layout
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8c01ae6daeb131fe0c1b5e337a07f60e911b65d4
---
modules/gui/qt4/components/playlist/playlist.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/playlist.cpp b/modules/gui/qt4/components/playlist/playlist.cpp
index b958886..ffdb78f 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 );
More information about the vlc-commits
mailing list