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>
This commit is contained in:
parent
e50456ec72
commit
2b69cc925f
1 changed files with 7 additions and 0 deletions
|
|
@ -2437,6 +2437,13 @@
|
||||||
</modify-argument>
|
</modify-argument>
|
||||||
</modify-function>
|
</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"/>
|
<modify-function signature="operator<(QStandardItem)const" remove="all"/>
|
||||||
</object-type>
|
</object-type>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue