Qt4 leak
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 10 Feb 2009 20:26:54 +0000 (22:26 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 10 Feb 2009 20:26:54 +0000 (22:26 +0200)
modules/gui/qt4/components/interface_widgets.cpp

index b84f567..ea3cd80 100644 (file)
@@ -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 );