mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 21:27:58 +02:00
More accountmodel debug
This commit is contained in:
@@ -66,7 +66,10 @@ AccountModel::loadData()
|
|||||||
// add all attica resolvers (installed or uninstalled)
|
// add all attica resolvers (installed or uninstalled)
|
||||||
Attica::Content::List fromAttica = AtticaManager::instance()->resolvers();
|
Attica::Content::List fromAttica = AtticaManager::instance()->resolvers();
|
||||||
foreach ( const Attica::Content& content, fromAttica )
|
foreach ( const Attica::Content& content, fromAttica )
|
||||||
|
{
|
||||||
|
qDebug() << "Loading ATTICA ACCOUNT with content:" << content.id() << content.name();
|
||||||
m_accounts << new AccountModelNode( content );
|
m_accounts << new AccountModelNode( content );
|
||||||
|
}
|
||||||
|
|
||||||
// Add all non-attica manually installed resolvers
|
// Add all non-attica manually installed resolvers
|
||||||
foreach ( Account* acct, allAccounts )
|
foreach ( Account* acct, allAccounts )
|
||||||
@@ -430,7 +433,7 @@ AccountModel::accountAdded( Account* account )
|
|||||||
bool thisIsTheOne = false;
|
bool thisIsTheOne = false;
|
||||||
qDebug() << "Checking for added account's related factory or attica:" << n->factory << attica;
|
qDebug() << "Checking for added account's related factory or attica:" << n->factory << attica;
|
||||||
if ( attica )
|
if ( attica )
|
||||||
qDebug() << n->atticaContent.id() << attica->atticaId();
|
qDebug() << n->atticaContent.id() << n->atticaContent.name() << attica->atticaId();
|
||||||
if ( n->factory == factory )
|
if ( n->factory == factory )
|
||||||
{
|
{
|
||||||
n->accounts << account;
|
n->accounts << account;
|
||||||
|
Reference in New Issue
Block a user