diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-08-26 09:10:02 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-08-26 09:23:37 (GMT) |
commit | a373648fa876a9684394aa9b7ecafd51e53f4742 (patch) | |
tree | 5a4aae1efb5b8b35d928d6365d7effd33ee0f154 /doc | |
parent | bce4c42a3d0c7d24009230e09aa58db60db39d40 (diff) | |
download | Qt-a373648fa876a9684394aa9b7ecafd51e53f4742.zip Qt-a373648fa876a9684394aa9b7ecafd51e53f4742.tar.gz Qt-a373648fa876a9684394aa9b7ecafd51e53f4742.tar.bz2 |
Cocoa: Demo browser can get stuck after closing modal dialog
This turns out to be a glitch in the event dispatcher for Qt/Cocoa.
The problem is that you can, in some really slim cases it must be, end up
calling processEvents with the exec flag set, while the current modal
dialog has been told to leave modal. In that case, we recurse into
a new event dispatching loop for a session that is about to die. And
that causes problems when the session actually dies. This patch makes
sure that you cannon start spinning a session that is about to die, by
setting the sessionCache to zero.
Task-number: QTBUG-13164
Reviewed-by: Tor Arne
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions