From a63a63675027d396e5804d7b03195423fd6f74de Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Sun, 20 May 2012 15:26:22 -0400 Subject: [PATCH] Add some debug for hugo --- src/libtomahawk/AtticaManager.cpp | 1 + src/libtomahawk/accounts/AccountModel.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/AtticaManager.cpp b/src/libtomahawk/AtticaManager.cpp index b345f49e8..6946fea44 100644 --- a/src/libtomahawk/AtticaManager.cpp +++ b/src/libtomahawk/AtticaManager.cpp @@ -233,6 +233,7 @@ AtticaManager::customAccountForAttica( const QString &id ) const void AtticaManager::registerCustomAccount( const QString &atticaId, Tomahawk::Accounts::Account *account ) { + qDebug() << "Registering custom attica account for id:" << atticaId << account->accountId() << account->accountFriendlyName(); m_customAccounts.insert( atticaId, account ); } diff --git a/src/libtomahawk/accounts/AccountModel.cpp b/src/libtomahawk/accounts/AccountModel.cpp index 2d7434a79..e64b1a9d5 100644 --- a/src/libtomahawk/accounts/AccountModel.cpp +++ b/src/libtomahawk/accounts/AccountModel.cpp @@ -127,7 +127,7 @@ AccountModel::loadData() #endif foreach ( Account* acct, allAccounts ) { - qDebug() << "Resolver is left over:" << acct->accountFriendlyName(); + qDebug() << "Resolver is left over:" << acct->accountFriendlyName() << acct->accountId(); // Q_ASSERT( !qobject_cast< AtticaResolverAccount* >( acct ) ); // This should be caught above in the attica list if ( qobject_cast< ResolverAccount* >( acct ) && !qobject_cast< AtticaResolverAccount* >( acct ) )