Commit dfdedb92 authored by pvuorela's avatar pvuorela

Merge branch 'omp-jb-54061' into 'master'

[nemo-qml-plugin-contacts] Fix assignment for newDisplayLabel. Fixes JB#54061

See merge request !61
parents eb9db019 a374bff3
......@@ -283,7 +283,7 @@ void SeasidePerson::recalculateDisplayLabel(SeasideCache::DisplayLabelOrder orde
QString newDisplayLabel;
SeasideCache::CacheItem *cacheItem = SeasideCache::existingItem(mContact->id());
if (cacheItem) {
newDisplayLabel = cacheItem->displayLabel.isEmpty();
newDisplayLabel = cacheItem->displayLabel;
} else {
newDisplayLabel = generateDisplayLabel(*mContact, order);
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