1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 00:54:20 +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 Teo Mrnjavac
parent 5575eb9e8e
commit 98bebc4d9e

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() )
{