Don't double delete PlasmoidItems
- Emit appletDeleted when it's still functional with configuration objects
- delete qmlObject on appletDeleted
qmlObject was deleted by deleteChildren of Applet, and deleted its instantiated plasmoidItem on its own deletion. deleting the plasmoiditem in appletDeleted casues a double deletion, while deleting the plasmoiditem as late as in Applet's QObject destructor causes the Applet not being valid and accessible anymore, but PlasmoidItem needs Applet to still be valid upon its own destructor
(cherry picked from commit 9f3761bc)
98593cc6 Don't double delete PlasmoidItems b5b567a8 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Marco Martin notmart@gmail.com