diff options
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index 3856120bb..565c2c19b 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -976,8 +976,11 @@ Py_XINCREF(%PYARG_0); </inject-code> </modify-function> - <!-- BUG 716 --> - <modify-function signature="operator const QModelIndex&()const" remove="all" /> + <modify-function signature="operator const QModelIndex&()const"> + <modify-argument index="return"> + <parent index="this" action="add"/> + </modify-argument> + </modify-function> </value-type> <value-type name="QUuid"> <enum-type name="Variant"/> |