summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-05-19 12:17:02 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-05-19 16:09:23 (GMT)
commit91803020462b7e42128644bdd9ed1d3455787f79 (patch)
treec95a5f59e7957a7bfe420e9c59ff136fe5f046a5 /src/corelib/animation
parent03e45a4dfb022e40d25bffad1f3b9e9a4121d4b5 (diff)
downloadQt-91803020462b7e42128644bdd9ed1d3455787f79.zip
Qt-91803020462b7e42128644bdd9ed1d3455787f79.tar.gz
Qt-91803020462b7e42128644bdd9ed1d3455787f79.tar.bz2
Removed unused method from QVariantAnimationPrivate
Diffstat (limited to 'src/corelib/animation')
-rw-r--r--src/corelib/animation/qvariantanimation.cpp6
-rw-r--r--src/corelib/animation/qvariantanimation_p.h1
2 files changed, 0 insertions, 7 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);
diff --git a/src/corelib/animation/qvariantanimation_p.h b/src/corelib/animation/qvariantanimation_p.h
index 9e81649..8b2915b 100644
--- a/src/corelib/animation/qvariantanimation_p.h
+++ b/src/corelib/animation/qvariantanimation_p.h
@@ -108,7 +108,6 @@ public:
quint32 changedSignalMask;
- void setCurrentValue();
void setCurrentValueForProgress(const qreal progress);
void recalculateCurrentInterval(bool force=false);
void setValueAt(qreal, const QVariant &);