mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
Don't crash when readding a resolver with ScriptCollection.
This commit is contained in:
@@ -539,6 +539,7 @@ SourcesModel::onScriptCollectionRemoved( const collection_ptr& collection )
|
||||
m_cloudGroup->removeChild( item );
|
||||
endRemoveRows();
|
||||
|
||||
dynamic_cast< QObject* >( m_scriptCollectionPages.value( collection ) )->deleteLater();
|
||||
m_scriptCollectionPages.remove( collection );
|
||||
m_scriptCollections.remove( collection );
|
||||
item->deleteLater();
|
||||
|
Reference in New Issue
Block a user