Fix displaying names in smsapp

This commit is contained in:
Nicolas Fella 2023-12-23 21:33:08 +01:00
parent e6383a47ca
commit 61d6430cfc
2 changed files with 2 additions and 1 deletions

View file

@ -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");

View file

@ -189,7 +189,7 @@ Kirigami.ScrollablePage
{
id: listItem
icon.name: decoration
text: display
text: displayNames
subtitle: toolTip
width: view.width