diff options
author | Morten Sørvig <msorvig@trolltech.com> | 2009-05-05 14:57:07 (GMT) |
---|---|---|
committer | Morten Sørvig <msorvig@trolltech.com> | 2009-05-05 14:57:07 (GMT) |
commit | 91938f0be5f8ba17f669b547b92941eb7063b9e3 (patch) | |
tree | 46eb70a323c8bfa98465adb72d2a52f0697ce9a9 /config.tests | |
parent | e6d0c873c707bf076ba41924a445c0e1d343ac38 (diff) | |
download | Qt-91938f0be5f8ba17f669b547b92941eb7063b9e3.zip Qt-91938f0be5f8ba17f669b547b92941eb7063b9e3.tar.gz Qt-91938f0be5f8ba17f669b547b92941eb7063b9e3.tar.bz2 |
Make command-quit not terminate the program on Qt/Cocoa.
Instead instigate the quit by calling QApplication::quit(), using the code
that was already in place. This allows QApplication::exec() to return normally
and prevents resrouce leaks for objects created on the stack in main().
Reviewed-by: nrc
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions