smsapp: Fix warnings about incompatible type for icons
This commit is contained in:
parent
ebfabd7c14
commit
d7df67ce0a
2 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ void ConversationListModel::createRowFromMessage(const ConversationMessage &mess
|
|||
const QIcon displayIcon = SmsHelper::getIconForAddresses(rawAddresses);
|
||||
|
||||
item->setText(displayNames);
|
||||
item->setIcon(displayIcon);
|
||||
item->setData(displayIcon.name(), Qt::DecorationRole);
|
||||
item->setData(message.threadID(), ConversationIdRole);
|
||||
item->setData(rawAddresses[0].address(), SenderRole);
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@ Kirigami.ScrollablePage
|
|||
delegate: Kirigami.BasicListItem
|
||||
{
|
||||
id: listItem
|
||||
icon: decoration
|
||||
icon.name: decoration
|
||||
reserveSpaceForIcon: true
|
||||
label: display
|
||||
subtitle: toolTip
|
||||
|
|
Loading…
Reference in a new issue