black panel if there are bg hints

This commit is contained in:
Marco Martin 2017-09-05 17:25:48 +02:00
parent 1d1c8a6def
commit f3cd4698da

View file

@ -21,13 +21,14 @@ import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
Item {
Rectangle {
id: root
visible: false //adjust borders is run during setup. We want to avoid painting till completed
property Item containment
color: containment.backgroundHints == PlasmaCore.Types.NoBackground ? "transparent" : theme.textColor
onContainmentChanged: {
containment.parent = root;
containment.visible = true;