Login  Register

Re: Object not deleted in main/qc_applicationwindow.cpp

Posted by R. van Twisk on Jul 24, 2011; 7:23pm
URL: https://forum.librecad.org/Object-not-deleted-in-main-qc-applicationwindow-cpp-tp4627858p4628607.html

Claude,

I fixed 3 occasions of this and all now use the stack.
Thanks for spotting this!

Ries
On Jul 24, 2011, at 1:45 PM, ClaudeQC [via LibreCAD] wrote:


On 24/07/2011 13:54, R. van Twisk [via LibreCAD] wrote:

 >
 >
 > I just asked this question on the IRC channel and they mentioned 'stack' :)
 >
 > For this case, I think I need to agree with that. The QPainter is just used in
 > that function and doesn't use any memory anyways.
 >

- Ok.

- Given your explanation, I agreed with you to create these objects
   from the stack.


Claude





If you reply to this email, your message will be added to the discussion below:
http://librecad.1049103.n5.nabble.com/Object-not-deleted-in-main-qc-applicationwindow-cpp-tp4627858p4628511.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.