Skip to content
Snippets Groups Projects
Commit b7a5d854 authored by Emmanuel Lepage Vallee's avatar Emmanuel Lepage Vallee
Browse files

Fix last commit

Refs #68173
parent c615dafa
No related branches found
No related tags found
No related merge requests found
......@@ -112,6 +112,7 @@ Account* AccountPrivate::buildNewAccountFromAlias(Account::Protocol proto, const
qDebug() << "Building an account from alias: " << alias;
ConfigurationManagerInterface& configurationManager = DBus::ConfigurationManager::instance();
Account* a = new Account();
a->setProtocol(proto);
a->d_ptr->m_hAccountDetails.clear();
a->d_ptr->m_hAccountDetails[DRing::Account::ConfProperties::ENABLED] = "false";
a->d_ptr->m_pAccountNumber = const_cast<ContactMethod*>(ContactMethod::BLANK());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment