Read theme.conf of themes
ClosedPublic

Authored by fvogt on Apr 18 2018, 6:18 PM.

Details

Summary

Otherwise kcm_sddm ignores values in there. Previously, a theme with a default
background image reverts to a color background on save.

Test Plan

Ran kcm_sddm and saved without changes. The background type is still image.

Diff Detail

Repository
R123 SDDM Configuration Panel (KCM)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
fvogt created this revision.Apr 18 2018, 6:18 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 18 2018, 6:18 PM
fvogt requested review of this revision.Apr 18 2018, 6:18 PM
fvogt added a comment.Apr 18 2018, 6:19 PM

(Actually targeting the Plasma/5.12 branch)

davidedmundson accepted this revision.Apr 18 2018, 6:32 PM
davidedmundson added a subscriber: davidedmundson.

1 minor change.

src/themeconfig.cpp
169–171

nice solution

"NoGlobals" - Cascade to system settings, but omit user's globals.

should work better. It will include the added sources, but no more

This revision is now accepted and ready to land.Apr 18 2018, 6:32 PM
fvogt added inline comments.Apr 18 2018, 6:37 PM
src/themeconfig.cpp
169–171

https://cgit.kde.org/kconfig.git/tree/src/core/kconfig.h#n97 says that it's the same value, isn't it?

This revision was automatically updated to reflect the committed changes.