kwin/kcmkwin
David Edmundson 70d2fb2378 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 14:01:09 +01:00
..
kwincompositing SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-13 05:42:59 +01:00
kwindecoration Avoid a crash on Kwin decoration KCM teardown 2017-02-10 14:01:09 +01:00
kwindesktop SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-13 05:42:59 +01:00
kwinoptions SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-13 05:42:59 +01:00
kwinrules SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-13 05:42:59 +01:00
kwinscreenedges SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-13 05:42:59 +01:00
kwinscripts pedantic fixes 2016-07-16 13:14:44 -04:00
kwintabbox SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-13 05:42:59 +01:00
CMakeLists.txt Drop build option KWIN_BUILD_SCREENEDGES 2014-11-24 10:48:49 +01:00