Commit 9bf14c7b authored by Emmanuel Lepage's avatar Emmanuel Lepage

[ #10724 ] Add bookmarks to the dataengine

parent c86edc0c
......@@ -235,7 +235,10 @@ void SFLPhoneEngine::updateAccounts()
{
const QVector<Account*>& list = m_pModel->getAccountList()->getAccounts();
foreach(Account* a,list) {
setData("accounts", a->getAccountDetail(ACCOUNT_ALIAS), a->getAccountId());
QHash<QString,QVariant> acc;
acc["id"] = a->getAccountId();
acc["alias"] = a->getAccountDetail(ACCOUNT_ALIAS)
setData("accounts", QString::number(rand()) , a->getAccountId());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment