[vlc-devel] commit: Qt4 is a big familly, they all want parents (fix memleak) ( Rémi Duraffort )

git version control git at videolan.org
Wed Oct 29 21:42:52 CET 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Oct 29 21:40:42 2008 +0100| [15e4aff7192b6c5519c55ba067d15b4ac5812cfc] | committer: Rémi Duraffort 

Qt4 is a big familly, they all want parents (fix memleak)

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

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

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 4f78b21..bab841e 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -71,7 +71,7 @@ AbstractController::AbstractController( intf_thread_t * _p_i ) : QFrame( NULL )
     controlLayout = new QGridLayout( this );
 
     /* Main action provider */
-    toolbarActionsMapper = new QSignalMapper();
+    toolbarActionsMapper = new QSignalMapper( this );
     CONNECT( toolbarActionsMapper, mapped( int ),
              this, doAction( int ) );
     CONNECT( THEMIM->getIM(), statusChanged( int ), this, setStatus( int ) );




More information about the vlc-devel mailing list