[vlc-devel] commit: Qt4 leak ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Feb 10 21:27:01 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Feb 10 22:26:54 2009 +0200| [75c5fe13f0856619fbefd056fbec53f63e179a19] | committer: Rémi Denis-Courmont 

Qt4 leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75c5fe13f0856619fbefd056fbec53f63e179a19
---

 modules/gui/qt4/components/interface_widgets.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index b84f567..ea3cd80 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -336,7 +336,7 @@ SpeedControlWidget::SpeedControlWidget( intf_thread_t *_p_i, QWidget *_parent )
     sizePolicy.setHorizontalStretch( 0 );
     sizePolicy.setVerticalStretch( 0 );
 
-    speedSlider = new QSlider;
+    speedSlider = new QSlider( this );
     speedSlider->setSizePolicy( sizePolicy );
     speedSlider->setMaximumSize( QSize( 80, 200 ) );
     speedSlider->setOrientation( Qt::Vertical );




More information about the vlc-devel mailing list