diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2013-12-03 13:55:20 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-04 09:11:39 +0100 |
commit | 32f71db1bdcf93c8a03a9ef11ff4044479afa369 (patch) | |
tree | f0d1bc3a0e03cd3209b0f36a7a93f89bb5ced0cc /dist | |
parent | dd97932a04c1ef27d0e4d73b701acc2aad411b07 (diff) |
iOS: fix crash when application quits
An application will sometimes crash if the keyboard
is told to hide while the application is about to
quit. This patch will ensure that we set m_qioswindow
(and [UIView qwindow]) to 0 when the window is destroyed.
We also check this pointer before telling QUIView to
resign first responder when closing the keyboard. The
latter will fix the crash.
Task-number: QTBUG-35356
Change-Id: I934088beb7e877c5b33d96225cb215a8ffd4dbb2
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions