summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformintegration_qpa.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-06-04 14:18:32 +0300
committerQt by Nokia <qt-info@nokia.com>2012-06-05 09:02:55 +0200
commita3768cb3bd27213a262518535d2d9edc88754dd9 (patch)
treecc8e5fde857cb177e0336d844583ea56c9f179b9 /src/gui/kernel/qplatformintegration_qpa.cpp
parentb7be632d5e777dfdfd7d6a31ba083e3ac653603d (diff)
Add StartDragVelocity to style hints
This will be used by Flickable in combination with the drag distance to improve the drag start detection logic. Change-Id: Ica30042ef3d15041d857b07fa4173dde3d3f900f Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/gui/kernel/qplatformintegration_qpa.cpp')
-rw-r--r--src/gui/kernel/qplatformintegration_qpa.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp
index 819f31efea..3021f6373e 100644
--- a/src/gui/kernel/qplatformintegration_qpa.cpp
+++ b/src/gui/kernel/qplatformintegration_qpa.cpp
@@ -296,6 +296,8 @@ QVariant QPlatformIntegration::styleHint(StyleHint hint) const
return 0;
case FontSmoothingGamma:
return qreal(1.7);
+ case StartDragVelocity:
+ return 0; // no limit
}
return 0;