Commit fb51cbe4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix a leak (2) in PL View

parent df4889d9
...@@ -101,7 +101,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent, ...@@ -101,7 +101,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
layout->addWidget( viewButton, 0, 2 ); layout->addWidget( viewButton, 0, 2 );
/* View selection menu */ /* View selection menu */
viewSelectionMapper = new QSignalMapper; viewSelectionMapper = new QSignalMapper( this );
CONNECT( viewSelectionMapper, mapped( int ), this, showView( int ) ); CONNECT( viewSelectionMapper, mapped( int ), this, showView( int ) );
QActionGroup *actionGroup = new QActionGroup( this ); QActionGroup *actionGroup = new QActionGroup( this );
......
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