Commit 19e83b28 authored by David Edmundson's avatar David Edmundson

Set wallpaper type in SDDM config

aafa20f19c87 introduces a feature to the SDDM breeze theme where it will
only show a wallpaper is a config value "type" is set to image. This
isn't the default, making this KCM useless.

This patch sets the wallpaper type when saving.

BUG: 370521
FIXED-IN: 5.9.1

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 66990840
......@@ -85,8 +85,10 @@ QVariantMap ThemeConfig::save()
if (!mThemeConfigPath.isEmpty()) {
args["theme.conf.user/General/background"] = mBackgroundPath;
args["theme.conf.user/General/type"] = QStringLiteral("image");
} else {
args["theme.conf.user/General/type"] = QStringLiteral("color");
return args;
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