void YourAccounts::accountCreated(Account account) { if (!account) return; m_accountManager->addItem(account); account.accountContact().setOwnerBuddy(m_myself->buddy()); m_configurationManager->flush(); selectAccount(account); }
void YourAccounts::accountCreated(Account account) { if (!account) return; AccountManager::instance()->addItem(account); account.accountContact().setOwnerBuddy(Core::instance()->myself()); ConfigurationManager::instance()->flush(); selectAccount(account); }
void ConfigWizardSetUpAccountPage::accountCreated(Account account) { if (!account) { AccountSuccessfullyCreated = false; return; } m_accountManager->addItem(account); account.accountContact().setOwnerBuddy(m_myself->buddy()); AccountSuccessfullyCreated = true; m_configurationManager->flush(); }