Fix devicename in Plasmoid
This commit is contained in:
parent
8bd15a95c2
commit
e029c61935
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue