Skip to content
Verified Commit 9b733328 authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

desktoppackage: Better integration with KConfigPropertyMap

In Plasma 6 configuration page emits tons of error about missing
cfg_* properties during page loading:

    ConfigurationAppletPage.qml:58: Error: Cannot assign to non-existent property "cfg_enabledCalendarPlugins"

While this is probably caused by the new stricter rules of Loader item
initialization, it still has something do with the way we construct
initial properties map: the least we can do is omit dummy system
properties coming from Qt runtime, such as "objectName" or "__42".

Fortunately, Plasmoid.configuration is just a KConfigPropertyMap, so
it has convenient keys() method which we absolutely should use.
parent b0a069c0
Pipeline #388594 passed with stage
in 7 minutes and 39 seconds
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