1
0
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:
Leo Franchi 2012-03-09 15:34:06 -05:00
parent 1ebeae274a
commit 7ac68392a6
2 changed files with 5 additions and 6 deletions

View File

@ -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 );

View File

@ -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;
}