diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-03-22 13:40:38 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-03-22 14:00:11 (GMT) |
commit | 35ca28a576e7d71b789211bcad00fc4f907c6e91 (patch) | |
tree | 6bc0284aee95dc90952cb7908ec60dfb54e312f8 /src/script/api | |
parent | 6390248b11b3596d8c946c232e9b0d832dc42941 (diff) | |
download | Qt-35ca28a576e7d71b789211bcad00fc4f907c6e91.zip Qt-35ca28a576e7d71b789211bcad00fc4f907c6e91.tar.gz Qt-35ca28a576e7d71b789211bcad00fc4f907c6e91.tar.bz2 |
Cocoa: fix eventdispatcher crash, found by macgui autotest
In some cases, we end up deleting a widget before we get to
end the modal session that might be attached to it. And that
will cause a crash. This patch retains/releases the underlying
NSWindow, so we always have a valid reference as long as the
modal session is alive.
Reviewed-by: msorvig
Diffstat (limited to 'src/script/api')
0 files changed, 0 insertions, 0 deletions