On Friday 19 September 2008 07:24:45 Oszkar Ambrus wrote:
> Well I tried that too, but it didn't work.
> Now I commented out
> foreach(QGraphicsItem* i, items()) {removeItem(i); }
> from the ~KonduitScene() destructor, and it seems not to crash anymore.
> But isn't that doing a lot of memory leaks?Not necessarily. Any QGraphicsItem on the scene is deleted by ~QGraphicScene. I don't know off-hand whether this would be enough, but it should be easy to see from the code. Alex -- Proud KDE hacker: http://www.kde.org Get KDE 4.1 - out now!
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/plasma-devel
