From e029c6193529004da318ce84f4b1bd3bacd0c082 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 22 Nov 2018 16:45:39 +0100 Subject: [PATCH] Fix devicename in Plasmoid --- plasmoid/package/contents/ui/DeviceDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plasmoid/package/contents/ui/DeviceDelegate.qml b/plasmoid/package/contents/ui/DeviceDelegate.qml index e806d3c6f..8640f651b 100644 --- a/plasmoid/package/contents/ui/DeviceDelegate.qml +++ b/plasmoid/package/contents/ui/DeviceDelegate.qml @@ -50,7 +50,7 @@ PlasmaComponents.ListItem PlasmaComponents.Label { horizontalAlignment: Text.AlignHCenter elide: Text.ElideRight - text: (battery.available && battery.charge > -1) ? i18n("%1 (%2)", display, battery.displayString) : display + text: (battery.available && battery.charge > -1) ? i18n("%1 (%2)", deviceName, battery.displayString) : deviceName Layout.fillWidth: true textFormat: Text.PlainText }