From 58ac60c47c9ea44665ea0e7814562a6933721aaf Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 21 Oct 2025 19:40:34 +1100 Subject: bar/popouts: allow disabling individual popouts Closes #826 --- modules/bar/popouts/Content.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/bar/popouts') diff --git a/modules/bar/popouts/Content.qml b/modules/bar/popouts/Content.qml index 5c9fdf7..e3f569d 100644 --- a/modules/bar/popouts/Content.qml +++ b/modules/bar/popouts/Content.qml @@ -45,7 +45,7 @@ Item { Popout { name: "battery" - source: "Battery.qml" + sourceComponent: Battery {} } Popout { @@ -57,12 +57,12 @@ Item { Popout { name: "kblayout" - source: "KbLayout.qml" + sourceComponent: KbLayout {} } Popout { name: "lockstatus" - source: "LockStatus.qml" + sourceComponent: LockStatus {} } Repeater { @@ -106,7 +106,7 @@ Item { id: popout required property string name - property bool shouldBeActive: root.wrapper.currentName === name + readonly property bool shouldBeActive: root.wrapper.currentName === name anchors.verticalCenter: parent.verticalCenter anchors.right: parent.right -- cgit v1.2.3-freya