Revert "Fix device name display in app"

This reverts commit 3865307619.
This commit is contained in:
Nicolas Fella 2018-11-26 15:51:28 +01:00
parent 99e335ede2
commit 2de96e86ac
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ Kirigami.ScrollablePage
delegate: Kirigami.BasicListItem {
width: ListView.view.width
icon: iconName
label: deviceName + "\n" + toolTip
label: display + "\n" + toolTip
onClicked: {
pageStack.push(
deviceComp,

View file

@ -108,7 +108,7 @@ Kirigami.ApplicationWindow
}
delegate: Kirigami.Action {
iconName: model.iconName
text: deviceName + "\n" + toolTip
text: display + "\n" + toolTip
enabled: status & DevicesModel.Reachable
checked: pageStack.currentItem && pageStack.currentItem.currentDevice == device
onTriggered: {