-
-
Save funkycode/cbacc73b66f4955928ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qDebug("account test"); | |
Accounts::Account* m_account = 0; | |
Accounts::Manager m_manager; | |
Accounts::AccountIdList accounts = m_manager.accountList(); | |
foreach (Accounts::AccountId id, accounts) { | |
Accounts::Account* account = m_manager.account(id); | |
QString test1 = account->displayName(); | |
qDebug() << "Accounts"; | |
if (m_account->providerName() == "imgur") { | |
qDebug() << "Accounts found?"; | |
m_account = account; | |
break; | |
} | |
} |
Author
funkycode
commented
Jun 15, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment