mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Less debug
This commit is contained in:
@@ -98,13 +98,12 @@ AccountModel::loadData()
|
|||||||
{
|
{
|
||||||
m_accounts << new AccountModelNode( content );
|
m_accounts << new AccountModelNode( content );
|
||||||
|
|
||||||
qDebug() << "No custom attica account, looking for normal resolver account";
|
|
||||||
foreach ( Account* acct, AccountManager::instance()->accounts( Accounts::ResolverType ) )
|
foreach ( Account* acct, AccountManager::instance()->accounts( Accounts::ResolverType ) )
|
||||||
{
|
{
|
||||||
qDebug() << "Found ResolverAccount" << acct->accountFriendlyName();
|
// qDebug() << "Found ResolverAccount" << acct->accountFriendlyName();
|
||||||
if ( AtticaResolverAccount* resolver = qobject_cast< AtticaResolverAccount* >( acct ) )
|
if ( AtticaResolverAccount* resolver = qobject_cast< AtticaResolverAccount* >( acct ) )
|
||||||
{
|
{
|
||||||
qDebug() << "Which is an attica resolver with id:" << resolver->atticaId();
|
// qDebug() << "Which is an attica resolver with id:" << resolver->atticaId();
|
||||||
if ( resolver->atticaId() == content.id() )
|
if ( resolver->atticaId() == content.id() )
|
||||||
{
|
{
|
||||||
allAccounts.removeAll( acct );
|
allAccounts.removeAll( acct );
|
||||||
|
@@ -87,7 +87,7 @@ struct AccountModelNode {
|
|||||||
{
|
{
|
||||||
if ( AccountManager::instance()->factoryForAccount( acct ) == fac )
|
if ( AccountManager::instance()->factoryForAccount( acct ) == fac )
|
||||||
{
|
{
|
||||||
qDebug() << "Found account for factory:" << acct->accountFriendlyName();
|
// qDebug() << "Found account for factory:" << acct->accountFriendlyName();
|
||||||
accounts.append( acct );
|
accounts.append( acct );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -98,7 +98,7 @@ struct AccountModelNode {
|
|||||||
init();
|
init();
|
||||||
atticaContent = cnt;
|
atticaContent = cnt;
|
||||||
|
|
||||||
qDebug() << "Creating attica model node for resolver:" << cnt.id();
|
// qDebug() << "Creating attica model node for resolver:" << cnt.id();
|
||||||
|
|
||||||
foreach ( Account* acct, AccountManager::instance()->accounts( Accounts::ResolverType ) )
|
foreach ( Account* acct, AccountManager::instance()->accounts( Accounts::ResolverType ) )
|
||||||
{
|
{
|
||||||
@@ -106,7 +106,7 @@ struct AccountModelNode {
|
|||||||
{
|
{
|
||||||
if ( resolver->atticaId() == atticaContent.id() )
|
if ( resolver->atticaId() == atticaContent.id() )
|
||||||
{
|
{
|
||||||
qDebug() << "found atticaaccount :" << resolver->accountFriendlyName();
|
// qDebug() << "found atticaaccount :" << resolver->accountFriendlyName();
|
||||||
atticaAccount = resolver;
|
atticaAccount = resolver;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user