Commit 15e4aff7 authored by Rémi Duraffort's avatar Rémi Duraffort

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

parent b83cc66f
...@@ -71,7 +71,7 @@ AbstractController::AbstractController( intf_thread_t * _p_i ) : QFrame( NULL ) ...@@ -71,7 +71,7 @@ AbstractController::AbstractController( intf_thread_t * _p_i ) : QFrame( NULL )
controlLayout = new QGridLayout( this ); controlLayout = new QGridLayout( this );
/* Main action provider */ /* Main action provider */
toolbarActionsMapper = new QSignalMapper(); toolbarActionsMapper = new QSignalMapper( this );
CONNECT( toolbarActionsMapper, mapped( int ), CONNECT( toolbarActionsMapper, mapped( int ),
this, doAction( int ) ); this, doAction( int ) );
CONNECT( THEMIM->getIM(), statusChanged( int ), this, setStatus( int ) ); CONNECT( THEMIM->getIM(), statusChanged( int ), this, setStatus( int ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment