ricardo
24th June 2009, 20:27
Hi friends!
When the user closes my app (pressing window X), closeEvent tests if you want to save document, but if user uses menus, my code calls exit(0) but closeEvent is not called!
Do you know how I should close my app from menus in order to call closeEvent before exiting?
Thanks a lot for your help.
When the user closes my app (pressing window X), closeEvent tests if you want to save document, but if user uses menus, my code calls exit(0) but closeEvent is not called!
Do you know how I should close my app from menus in order to call closeEvent before exiting?
Thanks a lot for your help.