Skip to content

effect: Prevent QJSEngine garbage collecting EffectWindow

Vlad Zahorodnii requested to merge work/cherry-pick-8a5a9f7c into Plasma/6.2

EffectWindow has no parent so QJSEngine can garbage collect an instance if it's returned by a function marked with Q_INVOKABLE.

CCBUG: 487771

(cherry picked from commit 8a5a9f7c)

Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org

Merge request reports

Loading