diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2009-09-21 09:58:21 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2009-09-21 10:07:34 (GMT) |
commit | b0016ea9a6b225757e3ee06b50e8f7d05463ddf7 (patch) | |
tree | 7a4f640566155323bf900cc5fa7bb9fb2e93260a /demos | |
parent | 74bd11b55388ca6a8e5cfdbdcfb044bb538fafa0 (diff) | |
download | Qt-b0016ea9a6b225757e3ee06b50e8f7d05463ddf7.zip Qt-b0016ea9a6b225757e3ee06b50e8f7d05463ddf7.tar.gz Qt-b0016ea9a6b225757e3ee06b50e8f7d05463ddf7.tar.bz2 |
On Mac, the posted events are processed on the first time in the loop
On Mac OS X, we use a custom source for posted events.
The first time the event loop is entered, the custom source is added
to the native event dispatcher but the events are not processed. In Qt,
we expect those events to be processed.
To work around the problem, a new observer is added to the event loop.
This observer is only triggered the first time the event loop is
entered. When the observer is triggered, the posted events are sent.
Task-number: QTBUG-4521
Reviewed-by: Richard Moe Gustavsen
Reviewed-by: João Abecasis
Diffstat (limited to 'demos')
0 files changed, 0 insertions, 0 deletions