From f94b4bec0bd724a7c6db312974f9449ba5ab8a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 28 Oct 2014 08:17:46 +0100 Subject: [PATCH] [aurorae] Set drawBackground property to false on visual parent Small hint for the previewer that it shouldn't draw the background. --- clients/aurorae/src/aurorae.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/aurorae/src/aurorae.cpp b/clients/aurorae/src/aurorae.cpp index 104f33e195..2a4d82bd47 100644 --- a/clients/aurorae/src/aurorae.cpp +++ b/clients/aurorae/src/aurorae.cpp @@ -273,6 +273,7 @@ void Decoration::init() QVariant visualParent = property("visualParent"); if (visualParent.isValid()) { m_item->setParentItem(visualParent.value()); + visualParent.value()->setProperty("drawBackground", false); } else { // we need a QQuickWindow till we depend on Qt 5.4 m_decorationWindow.reset(QWindow::fromWinId(client()->decorationId()));