apart from using a global for no good reason, and using 'this' in a ctor.
Oh, and you delete a dialog that already has a parent -> double deletion will happen I think.
And it will get even worse if you instantiate two MainWindow...
apart from using a global for no good reason, and using 'this' in a ctor.
Oh, and you delete a dialog that already has a parent -> double deletion will happen I think.
And it will get even worse if you instantiate two MainWindow...
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.
Bookmarks