summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qiosinputcontext.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>2013-01-16 10:42:31 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 23:56:05 +0100
commit0a9a4e826fc0a3909481f40d77708a86be55a345 (patch)
tree33e35e0bbe5f8461945da75897cc3453dfd1b832 /src/plugins/platforms/ios/qiosinputcontext.h
parent73e879660376a40fd21ded84020f2e527f22cd13 (diff)
iOS: let first responder follow the view of the focus window
This to ensure that the keyboard does not close prematurly. This can happen if the user opens up the keyboard while typing inside one window, then switch window, continue typing while the other window gets deleted. Change-Id: I5cfb1673ccbe4d5aaa14167b7aa53451031089a1 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qiosinputcontext.h')
-rw-r--r--src/plugins/platforms/ios/qiosinputcontext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiosinputcontext.h b/src/plugins/platforms/ios/qiosinputcontext.h
index ceed5ffaf2..176ad05733 100644
--- a/src/plugins/platforms/ios/qiosinputcontext.h
+++ b/src/plugins/platforms/ios/qiosinputcontext.h
@@ -61,8 +61,11 @@ public:
void hideInputPanel();
bool isInputPanelVisible() const;
+ void focusViewChanged(UIView *view);
+
private:
QIOSKeyboardListener *m_keyboardListener;
+ UIView *m_focusView;
};
QT_END_NAMESPACE