mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +02:00
If a service does not want to load any credentials, emit ready early
This commit is contained in:
@@ -95,6 +95,13 @@ CredentialsManager::loadCredentials( const QString &service )
|
|||||||
j->start();
|
j->start();
|
||||||
tDebug() << "Launching QtKeychain readJob for" << key;
|
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 );
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user