summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2015-04-09 12:27:31 +0200
committerKai Uwe Broulik <kde@privat.broulik.de>2015-04-12 10:09:25 +0000
commit95b481ea6dfa901c23b012085527769f9b5823c9 (patch)
treec7651d6bea6d0a0fa3342b79d77739fbc6bac7bf /src/plugins
parent4fab4d2e806ee5aff112a0ef194cf0974e229eaa (diff)
qiostextresponder: Add support for ImhLatinOnly
Change-Id: I38f43cd644d3c26c834cf60019c4db1fa0b8d61f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforms/ios/qiostextresponder.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiostextresponder.mm b/src/plugins/platforms/ios/qiostextresponder.mm
index 0b5ff11b47..52336a4e69 100644
--- a/src/plugins/platforms/ios/qiostextresponder.mm
+++ b/src/plugins/platforms/ios/qiostextresponder.mm
@@ -197,6 +197,8 @@
self.keyboardType = UIKeyboardTypeDecimalPad;
else if (hints & Qt::ImhDialableCharactersOnly)
self.keyboardType = UIKeyboardTypePhonePad;
+ else if (hints & Qt::ImhLatinOnly)
+ self.keyboardType = UIKeyboardTypeASCIICapable;
else
self.keyboardType = UIKeyboardTypeDefault;