mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 17:14:00 +02:00
Use removeOne, not removeAll, as there won't be more than one
This commit is contained in:
committed by
Teo Mrnjavac
parent
5575eb9e8e
commit
98bebc4d9e
@@ -144,7 +144,7 @@ CredentialsManager::keychainJobFinished( QKeychain::Job* j )
|
|||||||
tDebug() << "QtKeychain readJob finished with error:" << j->error() << j->errorString();
|
tDebug() << "QtKeychain readJob finished with error:" << j->error() << j->errorString();
|
||||||
}
|
}
|
||||||
|
|
||||||
m_readJobs.removeAll( readJob );
|
m_readJobs.removeOne( readJob );
|
||||||
|
|
||||||
if ( m_readJobs.isEmpty() )
|
if ( m_readJobs.isEmpty() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user