From f9940ead9ffe2b1264dc2d2b03b606d55011f0a9 Mon Sep 17 00:00:00 2001 From: Leo Franchi <lfranchi@kde.org> Date: Thu, 8 Mar 2012 12:14:31 -0500 Subject: [PATCH] More debug --- src/libtomahawk/accounts/AccountModel.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/accounts/AccountModel.cpp b/src/libtomahawk/accounts/AccountModel.cpp index 5cd185493..061c5a504 100644 --- a/src/libtomahawk/accounts/AccountModel.cpp +++ b/src/libtomahawk/accounts/AccountModel.cpp @@ -76,11 +76,14 @@ AccountModel::loadData() if ( AtticaManager::instance()->hasCustomAccountForAttica( 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 ); if ( 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 {