1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-13 20:41:58 +02:00

Also remove saved resolver path when uninstalling

This commit is contained in:
Leo Franchi 2012-06-29 17:49:24 -04:00
parent 76600e015c
commit c5691fce9a

View File

@ -130,6 +130,11 @@ SpotifyAccount::delayedInit()
if ( !checkForResolver() && state != AtticaManager::Uninstalled )
{
// If the user manually deleted the resolver, mark it as uninstalled, so we re-fetch for the user
QVariantHash conf = configuration();
conf.remove( "path" );
setConfiguration( conf );
sync();
AtticaManager::instance()->uninstallResolver( res );
}
else if ( state == AtticaManager::Installed || !path.isEmpty() )