aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml b/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml
index dba6c268..e6021bfe 100644
--- a/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml
+++ b/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml
@@ -1450,9 +1450,7 @@
</modify-argument>
</modify-function>
<modify-function signature="scene()const">
- <inject-code position="end">
- <insert-template name="scene-return-parenting"/>
- </inject-code>
+ <inject-code position="end" file="../glue/qtwidgets.cpp" snippet="qgraphicsitem-scene-return-parenting"/>
<modify-argument index="return">
<define-ownership owner="default"/>
</modify-argument>