[aurorae] Set drawBackground property to false on visual parent

Small hint for the previewer that it shouldn't draw the background.
This commit is contained in:
Martin Gräßlin 2014-10-28 08:17:46 +01:00
parent 0778434f85
commit f94b4bec0b

View file

@ -273,6 +273,7 @@ void Decoration::init()
QVariant visualParent = property("visualParent");
if (visualParent.isValid()) {
m_item->setParentItem(visualParent.value<QQuickItem*>());
visualParent.value<QQuickItem*>()->setProperty("drawBackground", false);
} else {
// we need a QQuickWindow till we depend on Qt 5.4
m_decorationWindow.reset(QWindow::fromWinId(client()->decorationId()));