Skip to content

Draft: Fix broken QML context handling

Carl Schwan requested to merge work/better-context-handling into master

This adds the current qml context (containing applicationWindow() and contextDrawer from Kirigami) to the context of the loaded KCM. This is required to being able to use actions.main/actions.contextualActions in the QML KCMs without it being completely broken

Unfortunately this patch in its current state is broken and crash with many KCMs but not all. It seems the QQmlComponent containing the mainUI is ready but still trying to create the QQuickItem fails

Edited by Carl Schwan

Merge request reports