1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

fix looping over account existing

This commit is contained in:
Leo Franchi 2012-01-29 15:02:21 -05:00
parent e8eb7300fc
commit f2b1cc6ae3

View File

@ -72,7 +72,10 @@ GetNewStuffModel::loadData()
foreach ( Account* acct, allAccounts )
{
if ( AccountManager::instance()->factoryForAccount( acct ) == fac )
{
item->alreadyExists = true;
break;
}
else
item->alreadyExists = false;
}