1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-14 01:54:07 +02:00

Use removeOne, not removeAll, as there won't be more than one

This commit is contained in:
Jeff Mitchell
2013-05-23 21:15:59 -04:00
committed by Michael Zanetti
parent 2185b3ae5a
commit 9d42209e96

View File

@@ -144,7 +144,7 @@ CredentialsManager::keychainJobFinished( QKeychain::Job* j )
tDebug() << "QtKeychain readJob finished with error:" << j->error() << j->errorString();
}
m_readJobs.removeAll( readJob );
m_readJobs.removeOne( readJob );
if ( m_readJobs.isEmpty() )
{