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