summaryrefslogtreecommitdiffstats
path: root/tools/shared
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2012-06-08 13:32:22 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-12 04:29:56 +0200
commit0fb84aa7a9ca3ff0bb96d6d7bb7b959d47c3ddcf (patch)
treeaf1722ae2a23a10bf8f8e95c3b34a7e26af0af67 /tools/shared
parent3abf49cdc84b47a66347efeb7fe58e252ca55e11 (diff)
Cocoa: do not terminate applications prematurely
Re-enable application termination as it was in Qt 4. QApplication::exec() must return to main() so that the destructors in main() are run. The QApplicationPrivate::canQuit() function from Qt 4's qapplication_mac.mm is gone, so bring back this function in QCocoaApplicationDelegate instead. Change-Id: I1c21894d59061687c36ab49bcb2e4e3ae0752fa4 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Diffstat (limited to 'tools/shared')
0 files changed, 0 insertions, 0 deletions