Commit 0d02ac89 authored by David Edmundson's avatar David Edmundson

[shell] Set DesktopView to black when no contents are loaded

This is better than the ContainmentView default of clear as it means we
don't get garbage from the root window.

CCBUG: 423545
CCBUG: 421237
parent 03a8c807
......@@ -49,6 +49,8 @@ DesktopView::DesktopView(Plasma::Corona *corona, QScreen *targetScreen)
setGeometry(targetScreen->geometry());
}
setColor(Qt::black);
setFlags(Qt::Window | Qt::FramelessWindowHint);
setTitle(corona->kPackage().metadata().name());
rootContext()->setContextProperty(QStringLiteral("desktop"), this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment