[PyQt] Missing ownership transfer in QStandardItem
Phil Thompson
phil at riverbankcomputing.com
Thu Feb 7 11:58:56 GMT 2008
On Wednesday 06 February 2008, Marius Kintel wrote:
> Hi,
>
> I think some of the wrapped methods of QStandardItem miss the
> ownership transfer, e.g.:
> qstandarditemmodel.sip:274:
>
> %If (Qt_4_3_0 -)
> void insertRows(int row, const QList<QStandardItem*> &items);
> %End
> %If (Qt_4_3_0 -)
> void appendRows(const QList<QStandardItem*> &aitems);
> %End
Fixed in tonight's snapshot.
> Adding a /Transfer/ to these seem to fix my immediate issues. I guess
> the same might go for similar methods added in Qt-4.3.
Do you have any in mind - I couldn't find anything.
Thanks,
Phil
More information about the PyQt
mailing list