From 99e335ede29a5c4c9a398c4b831bb7a7e2fbad4a Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Mon, 26 Nov 2018 15:50:44 +0100 Subject: [PATCH] Revert "Fix devicename in Plasmoid" This reverts commit e029c6193529004da318ce84f4b1bd3bacd0c082. --- 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 8640f651b..e806d3c6f 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)", deviceName, battery.displayString) : deviceName + text: (battery.available && battery.charge > -1) ? i18n("%1 (%2)", display, battery.displayString) : display Layout.fillWidth: true textFormat: Text.PlainText }