From 9ce47952668a02ada5e101bbdf43b0af4b6c33a5 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 11 May 2025 11:48:38 +0200 Subject: [PATCH] bar: resolve some warnings --- .config/quickshell/modules/bar/Bar.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.config/quickshell/modules/bar/Bar.qml b/.config/quickshell/modules/bar/Bar.qml index c4112d8bc..15cd9a84b 100644 --- a/.config/quickshell/modules/bar/Bar.qml +++ b/.config/quickshell/modules/bar/Bar.qml @@ -60,7 +60,6 @@ Scope { property real lastScrollX: 0 property real lastScrollY: 0 property bool trackingScroll: false - anchors.fill: leftSection acceptedButtons: Qt.LeftButton hoverEnabled: true propagateComposedEvents: true @@ -279,7 +278,7 @@ Scope { spacing: 0 Revealer { - reveal: Audio.sink?.audio?.muted + reveal: Audio.sink?.audio?.muted ?? false Layout.fillHeight: true Layout.rightMargin: reveal ? indicatorsRowLayout.realSpacing : 0 Behavior on Layout.rightMargin { @@ -296,7 +295,7 @@ Scope { } } Revealer { - reveal: Audio.source?.audio?.muted + reveal: Audio.source?.audio?.muted ?? false Layout.fillHeight: true Layout.rightMargin: reveal ? indicatorsRowLayout.realSpacing : 0 Behavior on Layout.rightMargin {