mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 07:07:05 +02:00
Also remove saved resolver path when uninstalling
This commit is contained in:
@@ -130,6 +130,11 @@ SpotifyAccount::delayedInit()
|
|||||||
if ( !checkForResolver() && state != AtticaManager::Uninstalled )
|
if ( !checkForResolver() && state != AtticaManager::Uninstalled )
|
||||||
{
|
{
|
||||||
// If the user manually deleted the resolver, mark it as uninstalled, so we re-fetch for the user
|
// 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 );
|
AtticaManager::instance()->uninstallResolver( res );
|
||||||
}
|
}
|
||||||
else if ( state == AtticaManager::Installed || !path.isEmpty() )
|
else if ( state == AtticaManager::Installed || !path.isEmpty() )
|
||||||
|
Reference in New Issue
Block a user