diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-05-16 19:17:36 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-19 12:28:30 +0200 |
commit | f3c68034e1da662651e0075643c50f9432cb37b6 (patch) | |
tree | cc79260fdbef823bceb2347362206fc5886747c1 /src/core/resource_context_qt.h | |
parent | 1e0c8bbe39eab2b1c4646304c5090c593ffba867 (diff) |
Fix fling gestures
InputHandlerProxy::HandleGestureFling assumes that the timestamp on
the fling gesture is in the same system as base::TimeTicks. By giving
it our smaller relative event timestamps (most often taken from a
QElapsedTimer) this ends up here being calculated as a negative time
on the fling animation curve.
Fix the issue by applying a delta at the ui::TouchEvent conversion so
that the resulting GestureFlingStart has a timestamp that can be
reliably interpreted.
Change-Id: I5e149bf64887305119643359495f89be6e0c3ffb
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/resource_context_qt.h')
0 files changed, 0 insertions, 0 deletions