Skip to content
Commit ea8009b3 authored by Kevin Ottens's avatar Kevin Ottens
Browse files

DesktopPaths KCM: Move the settings logic to a KCoreConfigSkeleton class

Summary:
Our KCoreConfigSkeleton subclass is interestingly hand written since
it's too remote from what we usually do (the resulting file needs to be
sourceable and we don't want the usual behavior of removing keys when
they're set to defaults).

The only one which was "more standard" was the autostart path, but
really with the URL conversion on top and for just a single entry, I
shoved it in the hand written class as well.

Doesn't reduce the code much, but at least it separates that logic from
the KCM and it opens the door to properly working defaults button.

Reviewers: #plasma, crossi, bport, meven, mart, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26389
parent 29c01adc
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