summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmleasefollow.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-12-01 23:10:16 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-12-01 23:10:16 (GMT)
commit22cc7e138d5274db607567c602d57db842309625 (patch)
tree2110e8a6e63c04f3e5e67c98bfcbb8ede508df02 /src/declarative/util/qmleasefollow.cpp
parent88ee1fa39e2f1aff0eac5503ca34274481125b8f (diff)
downloadQt-22cc7e138d5274db607567c602d57db842309625.zip
Qt-22cc7e138d5274db607567c602d57db842309625.tar.gz
Qt-22cc7e138d5274db607567c602d57db842309625.tar.bz2
Fix jumpy EaseFollow animations
Task-number: QTBUG-5766
Diffstat (limited to 'src/declarative/util/qmleasefollow.cpp')
-rw-r--r--src/declarative/util/qmleasefollow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qmleasefollow.cpp b/src/declarative/util/qmleasefollow.cpp
index b326f63..50758f4 100644
--- a/src/declarative/util/qmleasefollow.cpp
+++ b/src/declarative/util/qmleasefollow.cpp
@@ -124,7 +124,7 @@ bool QmlEaseFollowPrivate::recalc()
vp = velocity;
sp = 0;
sd = s;
- } else if (tf > (maximumEasingTime / 1000.)) {
+ } else if (maximumEasingTime != -1 && tf > (maximumEasingTime / 1000.)) {
qreal met = maximumEasingTime / 1000.;
td = tf - met;