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
|
|
@ -657,7 +657,7 @@
|
|||
<enum-type name="Qt::WidgetAttribute" />
|
||||
<enum-type name="QMetaMethod::Access"/>
|
||||
<enum-type name="QMetaMethod::MethodType"/>
|
||||
|
||||
|
||||
|
||||
<!--signal/slot-->
|
||||
<inject-code class="target" position="end">
|
||||
|
|
@ -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