Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
[libcontacts] Only update merge candidates with correct results
When the filter is not none, the ID query results do not apply to
the merge candidate filter.
  • Loading branch information
matthewvogt committed Jul 30, 2014
1 parent d149396 commit 9ae35978d8251a398c4a55e056ac0aa1222f97a8
Showing with 6 additions and 7 deletions.
  1. +6 −7 src/seasidecache.cpp
@@ -2398,14 +2398,13 @@ void SeasideCache::notifyNameGroupsChanged(const QSet<QString> &groups)

void SeasideCache::contactIdsAvailable()
{
if (!m_contactsToFetchCandidates.isEmpty()) {
foreach (const QContactId &id, m_contactIdRequest.ids()) {
m_candidateIds.insert(id);
if (m_syncFilter == FilterNone) {
if (!m_contactsToFetchCandidates.isEmpty()) {
foreach (const QContactId &id, m_contactIdRequest.ids()) {
m_candidateIds.insert(id);
}
}
return;
}

if (m_syncFilter != FilterNone) {
} else {
synchronizeList(this, m_contacts[m_syncFilter], m_cacheIndex, internalIds(m_contactIdRequest.ids()), m_queryIndex);
}
}

0 comments on commit 9ae3597

Please sign in to comment.