mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-02-26 04:43:06 +01:00
If a service does not want to load any credentials, emit ready early
This commit is contained in:
parent
5e2b1e1dd9
commit
c8af9393f6
@ -95,6 +95,13 @@ CredentialsManager::loadCredentials( const QString &service )
|
||||
j->start();
|
||||
tDebug() << "Launching QtKeychain readJob for" << key;
|
||||
}
|
||||
|
||||
if ( m_readJobs[ service ].isEmpty() )
|
||||
{
|
||||
// We did not launch any readJob, so we're done already.
|
||||
emit serviceReady( service );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user