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

Add some debug for hugo

This commit is contained in:
Leo Franchi
2012-05-20 15:26:22 -04:00
parent 01b6b6887c
commit a63a636750
2 changed files with 2 additions and 1 deletions

View File

@@ -233,6 +233,7 @@ AtticaManager::customAccountForAttica( const QString &id ) const
void void
AtticaManager::registerCustomAccount( const QString &atticaId, Tomahawk::Accounts::Account *account ) 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 ); m_customAccounts.insert( atticaId, account );
} }

View File

@@ -127,7 +127,7 @@ AccountModel::loadData()
#endif #endif
foreach ( Account* acct, allAccounts ) 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 // Q_ASSERT( !qobject_cast< AtticaResolverAccount* >( acct ) ); // This should be caught above in the attica list
if ( qobject_cast< ResolverAccount* >( acct ) && !qobject_cast< AtticaResolverAccount* >( acct ) ) if ( qobject_cast< ResolverAccount* >( acct ) && !qobject_cast< AtticaResolverAccount* >( acct ) )