SIGSEGV on exiting Plasma app

Alex Merry kde at randomguy3.me.uk
Sun Sep 21 21:09:23 CEST 2008


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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080921/1eddad72/attachment.sig 


More information about the Plasma-devel mailing list