Commit 748d53d9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: fix some leaks

parent b83c41cc
......@@ -401,7 +401,7 @@ void StandardPLPanel::popupAction( QAction *action )
QMenu* StandardPLPanel::viewSelectionMenu( StandardPLPanel *panel )
{
QMenu *viewMenu = new QMenu( qtr( "Playlist View Mode" ) );
QMenu *viewMenu = new QMenu( qtr( "Playlist View Mode" ), panel );
QSignalMapper *viewSelectionMapper = new QSignalMapper( viewMenu );
CONNECT( viewSelectionMapper, mapped( int ), panel, showView( int ) );
......
......@@ -144,7 +144,7 @@ SeekSlider::SeekSlider( Qt::Orientation q, QWidget *_parent, bool _static )
animLoadingOut->setEndValue( 0.0 );
animLoadingOut->setEasingCurve( QEasingCurve::OutBounce );
animLoading = new QSequentialAnimationGroup();
animLoading = new QSequentialAnimationGroup( this );
animLoading->addAnimation( animLoadingIn );
animLoading->addAnimation( animLoadingOut );
animLoading->setLoopCount( -1 );
......
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