diff options
author | Norwegian Rock Cat <qt-info@nokia.com> | 2009-05-04 11:54:47 (GMT) |
---|---|---|
committer | Norwegian Rock Cat <qt-info@nokia.com> | 2009-05-04 12:02:04 (GMT) |
commit | ea91eb38d81e37bd12d6abc2604f025ac1d254ce (patch) | |
tree | 4254cffab872294a7e00338c5a61c70bc26cff6b /doc/src/snippets/code/src_gui_kernel_qevent.cpp | |
parent | 237b4b8c8e9b5184578b4776c5f1f554c0d8efb5 (diff) | |
download | Qt-ea91eb38d81e37bd12d6abc2604f025ac1d254ce.zip Qt-ea91eb38d81e37bd12d6abc2604f025ac1d254ce.tar.gz Qt-ea91eb38d81e37bd12d6abc2604f025ac1d254ce.tar.bz2 |
Ensure that we send the Apple Events even when Cocoa isn't ready.
In general, Cocoa handles the the Apple Events for us. However, this is
time between creating the NSApplication and Cocoa has set everything up,
usually after the event loop is running. This means that until that
time, the events are dropped on the floor :-/. The workaround is to use
the same handler that we use for Carbon, but to only have it enabled for
until Cocoa is ready to handle things. This will result in not stepping
on the toes when used in a plugin (if it does, we can conditionalize
it).
Task-number: 252795
Reviewed-by: Richard Moe Gustavsen
Diffstat (limited to 'doc/src/snippets/code/src_gui_kernel_qevent.cpp')
0 files changed, 0 insertions, 0 deletions