Skip to content

Commit

Permalink
qiosintegration: Set PasswordMaskDelay
Browse files Browse the repository at this point in the history
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ø <[email protected]>
  • Loading branch information
kbroulik authored and Tor Arne Vestbø committed May 22, 2015
1 parent 01d78ba commit 05cd8d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/platforms/ios/qiosintegration.mm
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ QSurfaceFormat format() const Q_DECL_OVERRIDE
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:
Expand Down

0 comments on commit 05cd8d3

Please sign in to comment.