[Breeze] [Bug 416854] Breeze style crashed Dolphin?

Vlad Zahorodnii bugzilla_noreply at kde.org
Tue Jan 28 16:12:12 GMT 2020


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

--- Comment #2 from Vlad Zahorodnii <vlad.zahorodnii at kde.org> ---
Git commit 120fb3e01f220e894b7969b38847d5a91adcb6b0 by Vlad Zahorodnii.
Committed on 28/01/2020 at 16:12.
Pushed by vladz into branch 'master'.

[kstyle] Unregister a shadow when it's destroyed

Summary:
Since lifetime of a KWindowShadow doesn't strictly match the lifetime
of the associated widget, we need to unregister the shadow when it's
destroyed in order to prevent accessing or deleting dangling pointers
afterwards.

Reviewers: #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: plasma-devel

Tags: #plasma

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

M  +5    -1    kstyle/oxygenshadowhelper.cpp

https://commits.kde.org/oxygen/120fb3e01f220e894b7969b38847d5a91adcb6b0

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the kfm-devel mailing list