platformtheme : unload protection

Authored by rjvbb on Jan 29 2018, 3:43 PM.

Description

platformtheme : unload protection

This prevents a recent (?) regression where opening a KDE file dialog in
a "pure Qt" app (= not linking itself to KF5KIOWidgets) would cause a
crash on exit, apparently because the QRegExpEngine globalEngineCache
contained references to objects belonging to KF5KIOWidgets (which would
already be unloaded).
The unload protection postpones the unloading of the platform theme
plugin, and thus of any libraries on which it depends.

Committed from host : Portia.local

Details

Committed
rjvbbJan 29 2018, 3:43 PM
Parents
R854:627f292633a8: platformtheme: selective merge of plasma-integration v5.11.95-3-gd4d0bc3
Branches
Unknown
Tags
Unknown