summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qiosintegration.mm
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2015-05-20 12:56:41 +0200
committerTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2015-05-22 12:51:23 +0000
commit05cd8d3bfed7a61596f3b51b8b50505e7126de73 (patch)
tree8951c3cc74cb4414e19391bf27ac7efc24bd63d5 /src/plugins/platforms/ios/qiosintegration.mm
parent01d78ba86a631386a4d47b7c12d2a359da28f517 (diff)
qiosintegration: Set PasswordMaskDelay
This may introduce a privacy issue, however, there does not seem to be a way to disable this behavior on iOS - there would probably be a setting if they considered that an issue - so we might as well do the same. Change-Id: I7a5a6552c36d69b98064b50875562f586b10c0ee Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/ios/qiosintegration.mm')
-rw-r--r--src/plugins/platforms/ios/qiosintegration.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiosintegration.mm b/src/plugins/platforms/ios/qiosintegration.mm
index 7cd4280f5e..986fef7725 100644
--- a/src/plugins/platforms/ios/qiosintegration.mm
+++ b/src/plugins/platforms/ios/qiosintegration.mm
@@ -208,6 +208,10 @@ QPlatformServices *QIOSIntegration::services() const
QVariant QIOSIntegration::styleHint(StyleHint hint) const
{
switch (hint) {
+ case PasswordMaskDelay:
+ // this number is based on timing the native delay
+ // since there is no API to get it
+ return 2000;
case ShowIsMaximized:
return true;
case SetFocusOnTouchRelease: