From 45e966c290d658ef96a18c88137a874b66cf192d Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Mon, 8 Oct 2018 20:36:20 +0200 Subject: [PATCH] Fix person name displaying in ConversationDisplay Summary: Don't ask my why this works this way Test Plan: I see Name: phonenumber for contacts and just phonenumber for non-contacts now Reviewers: #kde_connect, sredman Reviewed By: #kde_connect, sredman Subscribers: sredman, kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D16015 --- smsapp/qml/ConversationDisplay.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smsapp/qml/ConversationDisplay.qml b/smsapp/qml/ConversationDisplay.qml index 2a4e7bbf1..9f0a9af4c 100644 --- a/smsapp/qml/ConversationDisplay.qml +++ b/smsapp/qml/ConversationDisplay.qml @@ -36,7 +36,7 @@ Kirigami.ScrollablePage property string conversationId property string phoneNumber - title: person && person.name ? i18n("%1: %2", person.name, phoneNumber) : phoneNumber + title: person.person && person.person.name ? i18n("%1: %2", person.person.name, phoneNumber) : phoneNumber ListView { model: QSortFilterProxyModel {