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;
|
// qCDebug(KDECONNECT_SMS_CONVERSATIONS_LIST_MODEL) << "Constructing" << this;
|
||||||
auto roles = roleNames();
|
auto roles = roleNames();
|
||||||
|
roles.insert(Qt::DisplayRole, "displayNames");
|
||||||
roles.insert(FromMeRole, "fromMe");
|
roles.insert(FromMeRole, "fromMe");
|
||||||
roles.insert(SenderRole, "sender");
|
roles.insert(SenderRole, "sender");
|
||||||
roles.insert(DateRole, "date");
|
roles.insert(DateRole, "date");
|
||||||
|
|
|
@ -189,7 +189,7 @@ Kirigami.ScrollablePage
|
||||||
{
|
{
|
||||||
id: listItem
|
id: listItem
|
||||||
icon.name: decoration
|
icon.name: decoration
|
||||||
text: display
|
text: displayNames
|
||||||
subtitle: toolTip
|
subtitle: toolTip
|
||||||
width: view.width
|
width: view.width
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue