[PyQt] possible bug in QListWidgetItem

Thomas Coopman thomas.coopman at gmail.com
Tue Mar 3 17:46:15 GMT 2009


Hi,

when I'm trying to subclass QListWidgetItem and try to set something I
get this error: untimeError: underlying C/C++ object has been deleted

some example code that triggers the bug

class ItemListWidgetItem(QListWidgetItem):
    def __init__(self, item, parent):
        QListWidgetItem.__init__(parent)
        self.setText("trigger bug")

I hope this is the correct place to fill a bug, because I don't find a
bug tracker

-- 
Thomas Coopman
Thomas.coopman at gmail.com


More information about the PyQt mailing list