[kstyle] Properly unregister widgets in ShadowHelper

Authored by zzag on Mar 16 2020, 1:08 PM.

Description

[kstyle] Properly unregister widgets in ShadowHelper

Summary:
After a widget has been unregistered, a WinIdChange event may be sent.
If that happens, ShadowHelper is going to try to install a shadow for
the corresponding widget. Obviously, this is wrong.

Test Plan:
Added a qDebug in ~ShadowHelper to ensure that _shadows is
empty.

Reviewers: Plasma, broulik

Reviewed By: Plasma, broulik

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
zzagMar 18 2020, 10:07 AM
Reviewer
Plasma
Differential Revision
D28073: [kstyle] Properly unregister widgets in ShadowHelper
Parents
R113:1c3884a79b30: Use defaults of KColorSchemeManager in ColorSchemeChooser
Branches
Unknown
Tags
Unknown