mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 01:39:42 +01:00
Don't start resolver if the path no longer exists
This commit is contained in:
parent
e0693475d7
commit
675841e9a7
@ -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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user