queue load() after all deleteLater() in unload() are done

Authored by mart on May 31 2019, 4:36 PM.

Description

queue load() after all deleteLater() in unload() are done

Summary: Put load in queue of the event loop to wait for the whole set of containments to have been deleteLater(), as some like FolderView operate on singletons which can cause inconsistent states

Test Plan:
now switching look and feel between 2 themes that use both FolderView
as desktop containment, the icons are still there

Reviewers: Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
martMay 31 2019, 4:48 PM
Reviewer
Plasma
Differential Revision
D21513: queue load() after all deleteLater() in unload() are done
Parents
R120:1abcdd51839d: Remove double look-ups
Branches
Unknown
Tags
Unknown