From 03d8e3c2cd8f322bfbb5d6c136e82826b380f564 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Wed, 9 Oct 2024 23:42:59 +0200 Subject: [PATCH] Add frame back to device list --- kcm/list.qml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/kcm/list.qml b/kcm/list.qml index 41f16e657..2505fd5c0 100644 --- a/kcm/list.qml +++ b/kcm/list.qml @@ -21,10 +21,18 @@ ScrollView { property alias model: devices.model - Component.onCompleted: { - if (background) { - background.visible = true - } + Kirigami.Theme.colorSet: Kirigami.Theme.View + Kirigami.Theme.inherit: false + + background: Rectangle { + color: Kirigami.Theme.backgroundColor + radius: Kirigami.Units.cornerRadius + + border.color: Kirigami.ColorUtils.linearInterpolation( + Kirigami.Theme.backgroundColor, + Kirigami.Theme.textColor, + Kirigami.Theme.frameContrast + ) } ListView {