diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-11-23 13:04:37 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-11-23 13:04:37 (GMT) |
commit | b8367d1c0846455e9055aed7ff5a0e438531a9ae (patch) | |
tree | 00811d3aed2eb0257ca980ad169b3d7f1f8e372a /src/gui/kernel/qcocoaapplicationdelegate_mac.mm | |
parent | 4ea54f03174778a4efdcb802f9179b6e1d17fd88 (diff) | |
download | Qt-b8367d1c0846455e9055aed7ff5a0e438531a9ae.zip Qt-b8367d1c0846455e9055aed7ff5a0e438531a9ae.tar.gz Qt-b8367d1c0846455e9055aed7ff5a0e438531a9ae.tar.bz2 |
Mac: added some useful comments only
Diffstat (limited to 'src/gui/kernel/qcocoaapplicationdelegate_mac.mm')
-rw-r--r-- | src/gui/kernel/qcocoaapplicationdelegate_mac.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qcocoaapplicationdelegate_mac.mm b/src/gui/kernel/qcocoaapplicationdelegate_mac.mm index 37dcc67..304e5d3 100644 --- a/src/gui/kernel/qcocoaapplicationdelegate_mac.mm +++ b/src/gui/kernel/qcocoaapplicationdelegate_mac.mm @@ -178,6 +178,9 @@ static void cleanupCocoaApplicationDelegate() return [[qtMenuLoader retain] autorelease]; } +// This function will only be called when NSApp is actually running. Before +// that, the kAEQuitApplication apple event will be sendt to +// QApplicationPrivate::globalAppleEventProcessor in qapplication_mac.mm - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { Q_UNUSED(sender); |