iOS: clear focus object when resigning first responder status
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>
Wed, 30 Oct 2013 08:36:44 +0000 (09:36 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 1 Nov 2013 06:30:06 +0000 (07:30 +0100)
commiteb64c765e3aa37da1373360c557e23aa29a2db48
treeb428339601a6387b754dd6f88e62ddd047b8cdf5
parentcfa85c76c7c7e1622cb02edcbbc3d948edca1e7f
iOS: clear focus object when resigning first responder status

Instead of deactivating the window when we resign first
responder status, we now leave it focused, and
tell it to clear its focus object instead.
This will work better with the rest of Qt, which expects
a window to have focus when its in front.

Change-Id: I6fcc232467af306b791a834f4843bfd2786b206f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
src/plugins/platforms/ios/qioswindow.mm