diff --git a/templates/plasma-wallpaper-with-qml-extension/package/contents/ui/main.qml b/templates/plasma-wallpaper-with-qml-extension/package/contents/ui/main.qml index a4fd1fc0c..c5fa98491 100644 --- a/templates/plasma-wallpaper-with-qml-extension/package/contents/ui/main.qml +++ b/templates/plasma-wallpaper-with-qml-extension/package/contents/ui/main.qml @@ -21,6 +21,7 @@ import QtQuick 2.1 import QtQuick.Layouts 1.1 +import org.kde.plasma.core 2.0 import org.kde.plasma.components 2.0 as PlasmaComponents import org.kde.plasma.extras 2.0 as PlasmaExtras @@ -29,6 +30,11 @@ import org.kde.plasma.private.%{APPNAMELC} 1.0 Item { id: root + Rectangle { + anchors.fill: parent + color: Theme.backgroundColor + } + ColumnLayout { anchors.centerIn: parent diff --git a/templates/plasma-wallpaper/package/contents/ui/main.qml b/templates/plasma-wallpaper/package/contents/ui/main.qml index 5a1b51232..30d9743ae 100644 --- a/templates/plasma-wallpaper/package/contents/ui/main.qml +++ b/templates/plasma-wallpaper/package/contents/ui/main.qml @@ -19,11 +19,17 @@ import QtQuick 2.1 +import org.kde.plasma.core 2.0 import org.kde.plasma.extras 2.0 as PlasmaExtras Item { id: root + Rectangle { + anchors.fill: parent + color: Theme.backgroundColor + } + PlasmaExtras.Title { anchors.centerIn: parent // use i18nd in wallpaper QML, as the default textdomain is not setup at least in Plasma 5.7