1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 06:07:37 +02:00

More debug

This commit is contained in:
Leo Franchi
2012-03-08 12:14:31 -05:00
parent 0c7780e5e3
commit f9940ead9f

View File

@@ -76,11 +76,14 @@ AccountModel::loadData()
if ( AtticaManager::instance()->hasCustomAccountForAttica( content.id() ) ) if ( AtticaManager::instance()->hasCustomAccountForAttica( content.id() ) )
{ {
Account* acct = AtticaManager::instance()->customAccountForAttica( content.id() ); Account* acct = AtticaManager::instance()->customAccountForAttica( content.id() );
qDebug() << "Found custom attica account for resolver:" << content.id() << acct->accountFriendlyName() << acct->accountId();
Q_ASSERT( acct ); Q_ASSERT( acct );
if ( acct ) if ( acct )
{ {
m_accounts << new AccountModelNode( acct ); m_accounts << new AccountModelNode( acct );
allAccounts.removeAll( acct ); const int removed = allAccounts.removeAll( acct );
qDebug() << "Removed custom account from misc accounts list, found:" << removed;
} }
} else } else
{ {