Skip to content

Commit

Permalink
[nemo-qml-plugin-contacts] Fix assignment for newDisplayLabel. Fixes …
Browse files Browse the repository at this point in the history
…JB#54061
  • Loading branch information
amakarik authored and pvuorela committed Apr 28, 2021
1 parent eb9db01 commit a374bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seasideperson.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit a374bff

Please sign in to comment.