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>
This commit is contained in:
parent
01d78ba86a
commit
05cd8d3bfe
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user