]> git.sesse.net Git - vlc/commitdiff
Qt: fix a leaking QSignalmapper in PL
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 30 Jan 2010 22:47:51 +0000 (23:47 +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 e4c2f19f579a56d3217635882492599fbf892941..d2deb7a386d3dcfa571c17ac86b7e36d6d2e1df3 100644 (file)
@@ -455,7 +455,7 @@ void StandardPLPanel::browseInto( input_item_t *p_input )
 LocationBar::LocationBar( PLModel *m )
 {
   model = m;
-  mapper = new QSignalMapper;
+  mapper = new QSignalMapper( this );
   CONNECT( mapper, mapped( int ), this, invoke( int ) );
 }