Skip to content

PanelConfigView: set ownership before returning screen

Fushan Wen requested to merge work/fuf/483762 into master

https://wiki.qt.io/Shared_Pointers_and_QML_Ownership says:

ownership change: if ownership semantics were not previously explicitly set; e.g. ' if the QObject returned from a Q_INVOKABLE function to JS does not have CppOwnership explicitly set, it will become JavaScriptOwnership owned. To avoid that, you can explicitly set the ownership semantic prior to returning it.

BUG: 483762 FIXED-IN: 6.1

Edited by Fushan Wen

Merge request reports