aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml')
-rw-r--r--sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
index b1090b651..e1a170e61 100644
--- a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
+++ b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
@@ -1778,7 +1778,8 @@
</modify-function>
<modify-function signature="createObject(const QTextFormat&amp;)">
<modify-argument index="return">
- <parent index="this" action="add"/>
+ <define-ownership class="native" owner="c++"/>
+ <define-ownership class="target" owner="target"/>
</modify-argument>
</modify-function>
<modify-function signature="print(QPagedPaintDevice*)const" rename="print_"/>