From e563273c22a72262e5230791f55cdfd25e63f4ea Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Mon, 25 Apr 2016 14:10:24 +0200 Subject: [PATCH] iOS: set StyleHint::StartDragTime to 300 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From testing on iOS, StartDragTime should be adjusted slightly, from 500 (default in qplatformtheme.cpp) down to 300. This will also affect how long the user needs to press before the text selection magnifier shows up for doing text selections. Change-Id: I42ebfec6f0dc809b5d392412cf8f70d128ee6246 Reviewed-by: Tor Arne Vestbø --- src/plugins/platforms/ios/qiosintegration.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/platforms/ios/qiosintegration.mm b/src/plugins/platforms/ios/qiosintegration.mm index 346c1f21aa7..fa12d54b288 100644 --- a/src/plugins/platforms/ios/qiosintegration.mm +++ b/src/plugins/platforms/ios/qiosintegration.mm @@ -233,6 +233,8 @@ QPlatformServices *QIOSIntegration::services() const QVariant QIOSIntegration::styleHint(StyleHint hint) const { switch (hint) { + case StartDragTime: + return 300; case PasswordMaskDelay: // this number is based on timing the native delay // since there is no API to get it