or use Qt::WA_DeleteOnClose
or use Qt::WA_DeleteOnClose
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
ehnuh (2nd November 2012)
the delete applies when creating the object using the new keyword. so if I declare my widget to be, QWidget BasicWidget.....this would automatically be deleted once I close my application?
ehnuh (4th November 2012)
Bookmarks