mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +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() )
|
else if ( state == AtticaManager::Installed || !path.isEmpty() )
|
||||||
{
|
{
|
||||||
|
if ( !path.isEmpty() )
|
||||||
|
{
|
||||||
|
QFileInfo info( path );
|
||||||
|
// Resolver was deleted, so abort.
|
||||||
|
if ( !info.exists() )
|
||||||
|
return;
|
||||||
|
}
|
||||||
hookupResolver();
|
hookupResolver();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
SpotifyAccount::hookupResolver()
|
SpotifyAccount::hookupResolver()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user