From aa09d338ee38d32b3fb3e485f522ab163243703e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonah=20Br=C3=BCchert?= Date: Tue, 9 Jan 2024 21:38:35 +0000 Subject: [PATCH] Improve display of devices in the drawer BUG: 474453 --- app/qml/Main.qml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/qml/Main.qml b/app/qml/Main.qml index 8a28438b7..b6fd23a89 100644 --- a/app/qml/Main.qml +++ b/app/qml/Main.qml @@ -94,11 +94,15 @@ Kirigami.ApplicationWindow { QQC2.ItemDelegate { Layout.fillWidth: true - text: model.name + "\n" + toolTip + contentItem: Kirigami.IconTitleSubtitle { + icon.name: model.iconName + icon.width: Kirigami.Units.iconSizes.smallMedium + title: model.name + subtitle: model.toolTip + } + enabled: status & DevicesModel.Reachable checked: pageStack.currentItem && pageStack.currentItem.currentDevice == device - icon.name: model.iconName - icon.color: "transparent" onClicked: { root.pageStack.clear() root.pageStack.push(