qiostextresponder: Use UIKeyboardTypePhonePad for ImhDialableCharactersOnly

Change-Id: I8123199da51a0b840c068bea4ba089c0fec9697b
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
This commit is contained in:
Kai Uwe Broulik 2015-04-09 12:21:12 +02:00
parent d11665b27c
commit 4fab4d2e80

View File

@ -196,7 +196,7 @@
else if (hints & Qt::ImhFormattedNumbersOnly) else if (hints & Qt::ImhFormattedNumbersOnly)
self.keyboardType = UIKeyboardTypeDecimalPad; self.keyboardType = UIKeyboardTypeDecimalPad;
else if (hints & Qt::ImhDialableCharactersOnly) else if (hints & Qt::ImhDialableCharactersOnly)
self.keyboardType = UIKeyboardTypeNumberPad; self.keyboardType = UIKeyboardTypePhonePad;
else else
self.keyboardType = UIKeyboardTypeDefault; self.keyboardType = UIKeyboardTypeDefault;