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

More accountmodel debug

This commit is contained in:
Leo Franchi 2012-02-16 22:39:12 -05:00
parent 2412266a34
commit 06be1868ea

View File

@ -66,7 +66,10 @@ AccountModel::loadData()
// add all attica resolvers (installed or uninstalled)
Attica::Content::List fromAttica = AtticaManager::instance()->resolvers();
foreach ( const Attica::Content& content, fromAttica )
{
qDebug() << "Loading ATTICA ACCOUNT with content:" << content.id() << content.name();
m_accounts << new AccountModelNode( content );
}
// Add all non-attica manually installed resolvers
foreach ( Account* acct, allAccounts )
@ -430,7 +433,7 @@ AccountModel::accountAdded( Account* account )
bool thisIsTheOne = false;
qDebug() << "Checking for added account's related factory or attica:" << n->factory << attica;
if ( attica )
qDebug() << n->atticaContent.id() << attica->atticaId();
qDebug() << n->atticaContent.id() << n->atticaContent.name() << attica->atticaId();
if ( n->factory == factory )
{
n->accounts << account;