Hi

Using Qt3.3.3.

This may seem a bizzare question but hear me out. I have a derived QCanvas class which has derived QCanvasItems (QCanvasRectangleItems) in/on it. The canvas items are parented to this derived QCanvas.

I use the delete on an instance of a QCanvasItem to remove it from the canvas. Inside the destructor of the derived QCanvasItem I call hide().

However peridically when I have delete a derived QCanvasItem, a tiny bit later a fatal crash has occurred in either QCanvasItemList::drawUnique( QPainter& painter ) try in access a duff QCanvasItem pointer, or QCanvas::collisions when itereating through its list of items, or in QCanvas::update().

So should I be doing anything else to ensure a QCanvasItem is removed from the QCanvas internal list(s)?

Thanks
Cya Illya