diff options
Diffstat (limited to 'sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml')
-rw-r--r-- | sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml b/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml index 98ffb2af7..feb3882ff 100644 --- a/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml +++ b/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml @@ -5,7 +5,7 @@ ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** -** This file is part of PySide2. +** This file is part of Qt for Python. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage @@ -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> |