From 85fe824df3c13833001e0f94e7660b8cd0d5c695 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Fri, 29 Jun 2012 17:49:24 -0400 Subject: [PATCH] Also remove saved resolver path when uninstalling --- src/libtomahawk/accounts/spotify/SpotifyAccount.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp b/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp index 210967ef7..6380ecb67 100644 --- a/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp +++ b/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp @@ -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() )