diff --git a/smsapp/conversationlistmodel.cpp b/smsapp/conversationlistmodel.cpp index a0f24097c..db0fbc3d0 100644 --- a/smsapp/conversationlistmodel.cpp +++ b/smsapp/conversationlistmodel.cpp @@ -27,6 +27,7 @@ ConversationListModel::ConversationListModel(QObject *parent) { // qCDebug(KDECONNECT_SMS_CONVERSATIONS_LIST_MODEL) << "Constructing" << this; auto roles = roleNames(); + roles.insert(Qt::DisplayRole, "displayNames"); roles.insert(FromMeRole, "fromMe"); roles.insert(SenderRole, "sender"); roles.insert(DateRole, "date"); diff --git a/smsapp/qml/ConversationList.qml b/smsapp/qml/ConversationList.qml index 4cbb95e7c..c3ec8967a 100644 --- a/smsapp/qml/ConversationList.qml +++ b/smsapp/qml/ConversationList.qml @@ -189,7 +189,7 @@ Kirigami.ScrollablePage { id: listItem icon.name: decoration - text: display + text: displayNames subtitle: toolTip width: view.width