delete the containments with destroy()

Authored by mart on May 29 2019, 12:26 PM.

Description

delete the containments with destroy()

during l&f switch, use destroy() which does a proper cleanup
and gives applets time to react to destroyedChanged, so we're sure they
properly cleaned up their states.
This among other things makes the in-app menubar work again when the
user switches from a style with a global menu bar to one without

Details

Committed
martMay 29 2019, 12:29 PM
Parents
R120:ab57e96a2f50: Merge branch 'Plasma/5.16'
Branches
Unknown
Tags
Unknown