diff options
author | Norwegian Rock Cat <qt-info@nokia.com> | 2009-04-07 13:30:12 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-08 02:33:15 (GMT) |
commit | 1da42bc25d414b52de0996608cbaf59c5cd3bf81 (patch) | |
tree | 7f5b926cda591a58f19d96cd426b81f8b9e3008f /mkspecs/win32-msvc2005 | |
parent | e0b90b6cdfea29a2362d3ba825be7a816eaa7332 (diff) | |
download | Qt-1da42bc25d414b52de0996608cbaf59c5cd3bf81.zip Qt-1da42bc25d414b52de0996608cbaf59c5cd3bf81.tar.gz Qt-1da42bc25d414b52de0996608cbaf59c5cd3bf81.tar.bz2 |
BT: Prevent a crash in Designer when quiting when in the filter edit.
Gah, my original change (f5ef0eb1a6543abdd29e07c23de7fa1128f6d623) had
its heart in the right place, but it seems that it can cause crashes
on closing where we refuse to give up the first responder and we end up
with a dangling pointer. This lets that case happen (when we have no
focus widget and are setting a nil first responder, there's no reason to
stop that, but it refuses to do that when we do have a focus widget.
Hopefully we don't get in a situation where our focus widget gets out of
sync.
Reviewed-by: Prasanth Ullattil
(cherry picked from commit 773c4d326c24f8db12ab58e379bd223ce1126d72)
Diffstat (limited to 'mkspecs/win32-msvc2005')
0 files changed, 0 insertions, 0 deletions