Set kcm context property on the correct context

Authored by davidedmundson on Jun 1 2018, 9:38 AM.

Description

Set kcm context property on the correct context

Summary:
One code path of kdeclarative uses a shared engine.

If we have a shared engine we have one engine with a root context and
several sub contexts. In this case it's important to set properties on
the context of our QQmlObject, not the shared root context of the
engine.

Test Plan:
I didn't see it affecting anything as one tends to only open one KCM at a time

Loaded the fonts KCM in system settings
Loaded the volume KCM via the plasma-pa applet

Reviewers: Plasma, hein

Reviewed By: Plasma, hein

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D13223

Details

Committed
davidedmundsonJun 1 2018, 9:38 AM
Reviewer
Plasma
Differential Revision
D13223: Set kcm context property on the correct context
Parents
R296:9999f015c5e5: GHNS button
Branches
Unknown
Tags
Unknown