JuK - destroying created objects

Georg Grabler ggrabler at gmail.com
Mon May 11 20:02:49 BST 2009


By looking some trough the JuK code, I realized that barely any
created objects (basically pointers in classes) are ever destroyed (as
widgets saved as pointers in the class).

Is there a reason for this, is it in this case unnecessary? A long
time ago I learned that objects created by calling new need to be
destroyed (at least most of them, as long as Qt does not handle the
destruction of objects passed to other classes).

Kind regards,

More information about the kde-multimedia mailing list