Commit 876808aa authored by mvogt's avatar mvogt

Do not insert multiple instance of the same number-contactId pair

parent a6ff882f
......@@ -2173,7 +2173,8 @@ bool SeasideCache::updateContactIndexing(const QContact &oldContact, const QCont
resolveUnknownAddresses(address.first, address.second, item);
}
m_phoneNumberIds.insert(address.second, iid);
if (!m_phoneNumberIds.contains(address.second, iid))
m_phoneNumberIds.insert(address.second, iid);
}
}
......
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