kwin/kcmkwin
David Edmundson 29179f115c Avoid a crash on Kwin decoration KCM teardown
Summary:
As described in https://bugreports.qt.io/browse/QTBUG-57714  exposing a
QWidget as a context item to QtQuick can crash. Especially as the
engine's context property gets deleted whilst deleting the parent item.

This patch reworks the code so that the models are exposed to QML
directly rather than going through a QWidget.

CCBUG: 373628

Test Plan:
Pressing back whilst in the decoration KCM used to crash every time, now it doesn't.
I still have the buttons.

Reviewers: #plasma, graesslin

Reviewed By: #plasma, graesslin

Subscribers: graesslin, cfeck, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4533
2017-02-10 10:52:48 +01:00
..
kwincompositing SVN_SILENT made messages (.desktop file) - always resolve ours 2017-01-25 07:33:24 +01:00
kwindecoration Avoid a crash on Kwin decoration KCM teardown 2017-02-10 10:52:48 +01:00
kwindesktop SVN_SILENT made messages (.desktop file) - always resolve ours 2017-01-28 08:15:46 +01:00
kwinoptions SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-20 13:30:44 +01:00
kwinrules SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-20 13:30:44 +01:00
kwinscreenedges SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-20 13:30:44 +01:00
kwinscripts SVN_SILENT made messages (.desktop file) - always resolve ours 2017-01-25 07:33:24 +01:00
kwintabbox SVN_SILENT made messages (.desktop file) - always resolve ours 2017-01-25 07:33:24 +01:00
CMakeLists.txt Drop build option KWIN_BUILD_SCREENEDGES 2014-11-24 10:48:49 +01:00