Fix bug 295 - "QModelIndex::model() sets the QModelIndex as parent of the model"

This commit is contained in:
Hugo Parente Lima 2010-08-12 09:59:48 -03:00
commit 0cf8145d78

View file

@ -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">