Fix bug 295 - "QModelIndex::model() sets the QModelIndex as parent of the model"
This commit is contained in:
parent
1cdc799701
commit
0cf8145d78
1 changed files with 6 additions and 1 deletions
|
|
@ -2157,6 +2157,11 @@
|
|||
Py_XINCREF(%PYARG_0);
|
||||
</inject-code>
|
||||
</modify-function>
|
||||
<modify-function signature="model()const">
|
||||
<modify-argument index="return">
|
||||
<define-ownership class="target" owner="default"/>
|
||||
</modify-argument>
|
||||
</modify-function>
|
||||
</value-type>
|
||||
|
||||
<value-type name="QGenericArgument">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue