1
0
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:
Uwe L. Korn 2013-08-03 18:22:48 +02:00
parent 5e2b1e1dd9
commit c8af9393f6

View File

@ -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 );
}
}