From 2ec10fc80f2150c5707e47ad602964e9fabd34d4 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 23 May 2013 07:33:58 +0200 Subject: [PATCH] Enable AccountModel debug spam. --- src/libtomahawk/accounts/AccountModel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/accounts/AccountModel.cpp b/src/libtomahawk/accounts/AccountModel.cpp index 5c81caac4..bbb169d5b 100644 --- a/src/libtomahawk/accounts/AccountModel.cpp +++ b/src/libtomahawk/accounts/AccountModel.cpp @@ -35,7 +35,7 @@ using namespace Tomahawk; using namespace Accounts; -#define ACCOUNTMODEL_DEBUG 0 +#define ACCOUNTMODEL_DEBUG 1 AccountModel::AccountModel( QObject* parent ) : QAbstractListModel( parent ) @@ -74,6 +74,7 @@ AccountModel::loadData() QList< AccountFactory* > factories = AccountManager::instance()->factories(); QList< Account* > allAccounts = AccountManager::instance()->accounts(); #if ACCOUNTMODEL_DEBUG + qDebug() << Q_FUNC_INFO; qDebug() << "All accounts:"; foreach ( Account* acct, allAccounts ) qDebug() << acct->accountFriendlyName() << "\t" << acct->accountId();