diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-05-19 12:17:02 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-05-19 16:09:23 (GMT) |
commit | 91803020462b7e42128644bdd9ed1d3455787f79 (patch) | |
tree | c95a5f59e7957a7bfe420e9c59ff136fe5f046a5 /src/corelib/animation/qvariantanimation.cpp | |
parent | 03e45a4dfb022e40d25bffad1f3b9e9a4121d4b5 (diff) | |
download | Qt-91803020462b7e42128644bdd9ed1d3455787f79.zip Qt-91803020462b7e42128644bdd9ed1d3455787f79.tar.gz Qt-91803020462b7e42128644bdd9ed1d3455787f79.tar.bz2 |
Removed unused method from QVariantAnimationPrivate
Diffstat (limited to 'src/corelib/animation/qvariantanimation.cpp')
-rw-r--r-- | src/corelib/animation/qvariantanimation.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/animation/qvariantanimation.cpp b/src/corelib/animation/qvariantanimation.cpp index 157a321..8ac8ca1 100644 --- a/src/corelib/animation/qvariantanimation.cpp +++ b/src/corelib/animation/qvariantanimation.cpp @@ -217,12 +217,6 @@ void QVariantAnimationPrivate::recalculateCurrentInterval(bool force/*=false*/) setCurrentValueForProgress(progress); } -void QVariantAnimationPrivate::setCurrentValue() -{ - const qreal progress = easing.valueForProgress(((duration == 0) ? qreal(1) : qreal(currentTime) / qreal(duration))); - setCurrentValueForProgress(progress); -} - void QVariantAnimationPrivate::setCurrentValueForProgress(const qreal progress) { Q_Q(QVariantAnimation); |