start of refactor

This commit is contained in:
Zacharias-Brohn
2026-03-09 23:18:13 +01:00
parent 88d795a73f
commit 26bc5cd7c3
6 changed files with 45 additions and 59 deletions
+18 -14
View File
@@ -113,22 +113,26 @@ Item {
}
}
Loader {
id: content
CustomClippingRect {
anchors.fill: parent
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
Loader {
id: content
sourceComponent: Content {
brightness: root.brightness
monitor: root.monitor
muted: root.muted
sourceMuted: root.sourceMuted
sourceVolume: root.sourceVolume
visibilities: root.visibilities
volume: root.volume
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
sourceComponent: Content {
brightness: root.brightness
monitor: root.monitor
muted: root.muted
sourceMuted: root.sourceMuted
sourceVolume: root.sourceVolume
visibilities: root.visibilities
volume: root.volume
}
Component.onCompleted: active = Qt.binding(() => root.shouldBeActive || root.visible)
}
Component.onCompleted: active = Qt.binding(() => root.shouldBeActive || root.visible)
}
}