Skip to content
  • Vlad Zahorodnii's avatar
    [kstyle] Unregister a shadow when it's destroyed · 120fb3e0
    Vlad Zahorodnii authored
    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.
    
    CCBUG: 416854
    
    Reviewers: #plasma, broulik
    
    Reviewed By: #plasma, broulik
    
    Subscribers: plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D26967
    120fb3e0