Skip to content
Commit 69d3e9c9 authored by David Edmundson's avatar David Edmundson
Browse files

Avoid QML singletons to work with shared QML engines

KCM's were registering singleton instances. This has the lifespan of the
QMLEngine, and we were using objects with the lifespan of the loaded
KCM. Recent changes share the QML engine used between modules.

We have an existing mechanism to link the C++ container to the loaded UI
which is used in all other system settings. Port everything to using the
attached kcm object and adding a getter there.

BUG: 480881
(cherry picked from commit 2de76c72)
parent 34981864
Pipeline #601809 passed with stage
in 2 minutes and 13 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