[PyQt] segfault when using a proxy and SIGNAL(
"clicked(QModelIndex)" )
Demetrius Cassidy
dcassidy36 at mass.rr.com
Sun Apr 12 01:26:25 BST 2009
Why do you need access to the QModelIndex internal pointer? It sounds like
you are trying to access a null pointer, causing a crash.
Looking at the signature, ptr is some sort of id or extra data associated
with the index, which you probably need to add yourself when creating an
index.
QModelIndex QAbstractItemModel::createIndex ( int row, int column, void *
ptr = 0 ) const [protected]
TP-5 wrote:
>
> TP a écrit :
>> Could this be a bug in PyQt?
>
> Has someone tried my script to check if the segfault is reproducible?
>
> Julien
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>
--
View this message in context: http://www.nabble.com/segfault-when-using-a-proxy-and-SIGNAL%28-%22clicked%28QModelIndex%29%22-%29-tp22977318p23006807.html
Sent from the PyQt mailing list archive at Nabble.com.
More information about the PyQt
mailing list