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:
committed by
Michael Zanetti
parent
2185b3ae5a
commit
9d42209e96
@@ -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() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user