mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Don't start resolver if the path no longer exists
This commit is contained in:
@@ -117,11 +117,17 @@ SpotifyAccount::init()
|
||||
}
|
||||
else if ( state == AtticaManager::Installed || !path.isEmpty() )
|
||||
{
|
||||
if ( !path.isEmpty() )
|
||||
{
|
||||
QFileInfo info( path );
|
||||
// Resolver was deleted, so abort.
|
||||
if ( !info.exists() )
|
||||
return;
|
||||
}
|
||||
hookupResolver();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
SpotifyAccount::hookupResolver()
|
||||
{
|
||||
|
Reference in New Issue
Block a user