I've written a Qt application where I call a lot of constructors:
Object o = new Object(blabla);
and I can't delete them until the user closes the program.
When the close button is clicked (or cmd-Q) I call this function:
qApp->quit();
Now does this function delete all previous allocated memory, or do I have to do it myself manually? I've already looked in the documentation of the quit-function, but it doesn't mention it.