diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2014-02-20 18:03:10 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-21 18:55:31 +0100 |
commit | db32813a865fe8eda6a4ff87c71b791a26b343c3 (patch) | |
tree | 798efea85d2ab01680bb650161ac683679cee440 /src/quick/items/qquicktextinput_p_p.h | |
parent | 325161d1c4f4b9c41e620dc842f2ce503404e245 (diff) |
QQuickTimeLine: add missing time checks
The same check is done in QQuickTimeLine::pause(), move() and moveBy(),
where the time is passed as an argument. QQuickTimeLine::accel() and
accelDistance() calculate the time based on velocity and acceleration
or distance. With tiny values this calculation can result to a negative
time due to integer overflow.
Task-number: QTBUG-35046
Change-Id: I000e73d3f787375946e8f87a5d24153ae919bc8d
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/quick/items/qquicktextinput_p_p.h')
0 files changed, 0 insertions, 0 deletions