diff options
Diffstat (limited to 'sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml')
-rw-r--r-- | sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml b/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml index 488f5081d..27b772064 100644 --- a/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml +++ b/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml @@ -2593,7 +2593,14 @@ </modify-argument> </modify-function> - <modify-function signature="setMovie(QMovie*)"> + <modify-function signature="pixmap()const"> + <modify-argument index="return"> + <!-- Defining ownership as "default" avoids the object to be automatically + set as parent of the returned pointer. --> + <define-ownership class="target" owner="default"/> + </modify-argument> + </modify-function> + <modify-function signature="setMovie(QMovie *)"> <modify-argument index="1"> <parent index="this" action="add"/> </modify-argument> |