diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-05-03 12:21:10 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:17 -0300 |
commit | 2b69cc925f009b38a73495f82e74ac6992cf11d8 (patch) | |
tree | 841549baac61fa9a1e9b4bcf515f9e48bde869bc /PySide | |
parent | e50456ec721ccf909333d4a79aeed81707cd37ec (diff) |
Fixed QStandardItem::clone and QStandardItemModel::setItemPrototype ownership rules.
Fixes bug #841.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index 060129655..75ff05e47 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -2437,6 +2437,13 @@ </modify-argument> </modify-function> + <modify-function signature="clone() const"> + <modify-argument index="return"> + <define-ownership class="native" owner="c++"/> + <define-ownership class="target" owner="target"/> + </modify-argument> + </modify-function> + <!-- ??? --> <modify-function signature="operator<(QStandardItem)const" remove="all"/> </object-type> |