mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Less debug
This commit is contained in:
parent
1ebeae274a
commit
7ac68392a6
@ -98,13 +98,12 @@ AccountModel::loadData()
|
||||
{
|
||||
m_accounts << new AccountModelNode( content );
|
||||
|
||||
qDebug() << "No custom attica account, looking for normal resolver account";
|
||||
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 ) )
|
||||
{
|
||||
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() )
|
||||
{
|
||||
allAccounts.removeAll( acct );
|
||||
|
@ -87,7 +87,7 @@ struct AccountModelNode {
|
||||
{
|
||||
if ( AccountManager::instance()->factoryForAccount( acct ) == fac )
|
||||
{
|
||||
qDebug() << "Found account for factory:" << acct->accountFriendlyName();
|
||||
// qDebug() << "Found account for factory:" << acct->accountFriendlyName();
|
||||
accounts.append( acct );
|
||||
}
|
||||
}
|
||||
@ -98,7 +98,7 @@ struct AccountModelNode {
|
||||
init();
|
||||
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 ) )
|
||||
{
|
||||
@ -106,7 +106,7 @@ struct AccountModelNode {
|
||||
{
|
||||
if ( resolver->atticaId() == atticaContent.id() )
|
||||
{
|
||||
qDebug() << "found atticaaccount :" << resolver->accountFriendlyName();
|
||||
// qDebug() << "found atticaaccount :" << resolver->accountFriendlyName();
|
||||
atticaAccount = resolver;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user