Commit 5f94c495 authored by Fushan Wen's avatar Fushan Wen 💬 Committed by Nicolas Fella
Browse files

plasmoid: fix missing device name

display is not defined, use model.name instead.
parent ba69e4a0
Pipeline #194393 passed with stage
in 3 minutes and 20 seconds
......@@ -73,7 +73,7 @@ PlasmaComponents.ListItem
PlasmaComponents.Label {
id: deviceName
elide: Text.ElideRight
text: display
text: model.name
Layout.fillWidth: true
textFormat: Text.PlainText
}
......@@ -283,7 +283,7 @@ PlasmaComponents.ListItem
anchors.left: parent.left
}
PlasmaComponents.Label {
text: appName + ": " + (title.length>0 ? (appName==title?notitext:title+": "+notitext) : display)
text: appName + ": " + (title.length>0 ? (appName==title?notitext:title+": "+notitext) : model.name)
anchors.right: replyButton.left
anchors.left: notificationIcon.right
elide: listitem.checked ? Text.ElideNone : Text.ElideRight
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment