mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
Delete widget after it's removed
This commit is contained in:
@@ -169,7 +169,7 @@ DynamicControlList::removeControl()
|
|||||||
m_controls.removeAll( w );
|
m_controls.removeAll( w );
|
||||||
|
|
||||||
m_generator->removeControl( w->control() );
|
m_generator->removeControl( w->control() );
|
||||||
delete w;
|
w->deleteLater();
|
||||||
|
|
||||||
emit controlsChanged( false );
|
emit controlsChanged( false );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user