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 /tests/auto/quick/quick.pro | |
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 'tests/auto/quick/quick.pro')
-rw-r--r-- | tests/auto/quick/quick.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/quick.pro b/tests/auto/quick/quick.pro index 92bbe7e0fb..6c163d9619 100644 --- a/tests/auto/quick/quick.pro +++ b/tests/auto/quick/quick.pro @@ -26,6 +26,7 @@ PRIVATETESTS += \ qquickstyledtext \ qquickstates \ qquicksystempalette \ + qquicktimeline \ qquickxmllistmodel # This test requires the xmlpatterns module |