https://bugs.kde.org/show_bug.cgi?id=373628

--- Comment #62 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 51c4d6c8db8298dbd471fa91de6cb97bf8b4287a by David Edmundson.
Committed on 10/02/2017 at 10:00.
Pushed by davidedmundson into branch 'Plasma/5.9'.

Fix crash in Screen Locker KCM on 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 exposed properties go through a
proxy QObject.

Test Plan:
Pressing back whilst in the screenlocker KCM used to crash every time,
now it doesn't.

Also changed the wallpaper type, new settings appeared, I went from flat
image to a specific wallpaper, and then locked my screen.

Reviewers: #plasma, graesslin

Reviewed By: #plasma, graesslin

Subscribers: plasma-devel

Tags: #plasma

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

M  +6    -1    kcm/kcm.cpp
M  +30   -3    kcm/kcm.h

https://commits.kde.org/kscreenlocker/51c4d6c8db8298dbd471fa91de6cb97bf8b4287a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to