]> git.sesse.net Git - vlc/commitdiff
Qt: fix a leak (2) in PL View
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 30 Jan 2010 22:50:53 +0000 (23:50 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 30 Jan 2010 22:55:26 +0000 (23:55 +0100)
modules/gui/qt4/components/playlist/standardpanel.cpp

index 520243fbf9b1d0fe5e8bbc4f995cb9d2bd7ea951..7241cf1895e62ebff481257b22e59e46bd310276 100644 (file)
@@ -101,7 +101,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
     layout->addWidget( viewButton, 0, 2 );
 
     /* View selection menu */
-    viewSelectionMapper = new QSignalMapper;
+    viewSelectionMapper = new QSignalMapper( this );
     CONNECT( viewSelectionMapper, mapped( int ), this, showView( int ) );
 
     QActionGroup *actionGroup = new QActionGroup( this );