diff --git a/desktoppackage/contents/views/Panel.qml b/desktoppackage/contents/views/Panel.qml --- a/desktoppackage/contents/views/Panel.qml +++ b/desktoppackage/contents/views/Panel.qml @@ -24,7 +24,7 @@ PlasmaCore.FrameSvgItem { id: root - imagePath: "widgets/panel-background" + imagePath: containment && containment.backgroundHints === PlasmaCore.Types.NoBackground ? "" : "widgets/panel-background" onRepaintNeeded: adjustPrefix(); enabledBorders: panel.enabledBorders @@ -88,6 +88,18 @@ } } + Binding { + target: panel + property: "backgroundHints" + when: containment + value: { + if (!containment) { + return; + } + + return containment.backgroundHints; + } + } Item { id: containmentParent