[vlc-commits] Qt: thou shalt NOT give 2 layouts to the same widget
Jean-Baptiste Kempf
git at videolan.org
Thu Sep 8 00:25:49 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 8 00:08:49 2011 +0200| [60d0743539f710bedc1df8927c79651ffa8c3f5a] | committer: Jean-Baptiste Kempf
Qt: thou shalt NOT give 2 layouts to the same widget
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=60d0743539f710bedc1df8927c79651ffa8c3f5a
---
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 147e867..e10a11b 100644
--- a/modules/gui/qt4/components/playlist/playlist.cpp
+++ b/modules/gui/qt4/components/playlist/playlist.cpp
@@ -190,7 +190,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
CONNECT( zoomSlider, valueChanged( int ), model, changeZoom( int ) );
/* pad our zoom slider */
- QGridLayout *sliderLayout = new QGridLayout( this );
+ QGridLayout *sliderLayout = new QGridLayout;
QSpacerItem* sliderSpacer =
new QSpacerItem( mainView->getScrollBarsSize(),
mainView->getScrollBarsSize(),
More information about the vlc-commits
mailing list