mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
fix looping over account existing
This commit is contained in:
@@ -72,7 +72,10 @@ GetNewStuffModel::loadData()
|
|||||||
foreach ( Account* acct, allAccounts )
|
foreach ( Account* acct, allAccounts )
|
||||||
{
|
{
|
||||||
if ( AccountManager::instance()->factoryForAccount( acct ) == fac )
|
if ( AccountManager::instance()->factoryForAccount( acct ) == fac )
|
||||||
|
{
|
||||||
item->alreadyExists = true;
|
item->alreadyExists = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
item->alreadyExists = false;
|
item->alreadyExists = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user