[kstyle] Properly unregister widgets in ShadowHelper
ClosedPublic

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

Details

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.

Diff Detail

Repository
R113 Oxygen Theme
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 23753
Build 23771: arc lint + arc unit
zzag created this revision.Mar 16 2020, 1:18 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 16 2020, 1:18 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
zzag requested review of this revision.Mar 16 2020, 1:18 PM
zzag added a comment.Mar 16 2020, 1:34 PM
This comment was removed by zzag.
broulik accepted this revision.Mar 18 2020, 10:06 AM
This revision is now accepted and ready to land.Mar 18 2020, 10:06 AM
This revision was automatically updated to reflect the committed changes.