[PyQt] QSortFilterProxyModel segmentation fault

Baba-k babakage at gmail.com
Fri Feb 6 16:15:33 GMT 2009


Hi,

I've encoutered a problem whereby I get a seg fault when trying to access an
item object returned by index.internalPointer() when using a proxy model. If
I use the item model it is fine. I've attached a modified version of the
simpletreemodel example from the docs that I've modified to use a 
QSortFilterProxyModel. It crashes whenever you right click over an item in
the tree. 

Any help on this would be *extremely* appreciated. 

http://www.nabble.com/file/p21875600/simpletreemodel_crash.py
simpletreemodel_crash.py  
http://www.nabble.com/file/p21875600/simpletreemodel_rc.py
simpletreemodel_rc.py 

thanks
babak 
-- 
View this message in context: http://www.nabble.com/QSortFilterProxyModel-segmentation-fault-tp21875600p21875600.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list