[vlc-devel] commit: Qt: fix a leak (2) in PL View (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Jan 31 00:04:59 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 30 23:50:53 2010 +0100| [fb51cbe4712c9691b6aa83dd54addda36a6108bf] | committer: Jean-Baptiste Kempf 

Qt: fix a leak (2) in PL View

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

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

diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index 520243f..7241cf1 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -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 );




More information about the vlc-devel mailing list