Fix displaying names in smsapp
This commit is contained in:
parent
e6383a47ca
commit
61d6430cfc
2 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
|
@ -189,7 +189,7 @@ Kirigami.ScrollablePage
|
|||
{
|
||||
id: listItem
|
||||
icon.name: decoration
|
||||
text: display
|
||||
text: displayNames
|
||||
subtitle: toolTip
|
||||
width: view.width
|
||||
|
||||
|
|
Loading…
Reference in a new issue