summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-13 08:47:32 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-13 08:47:32 (GMT)
commitbd2cc45fefb024f91f9c0736c5abfe853e49b540 (patch)
treed9e385d0cb4e1bd8f169bdbc7dacf04259c4d7b2 /src
parentb31ba48ffb7ee54949d7a5895de4e18a4e48ee5c (diff)
downloadQt-bd2cc45fefb024f91f9c0736c5abfe853e49b540.zip
Qt-bd2cc45fefb024f91f9c0736c5abfe853e49b540.tar.gz
Qt-bd2cc45fefb024f91f9c0736c5abfe853e49b540.tar.bz2
Fix compile issue for animation framework
Diffstat (limited to 'src')
-rw-r--r--src/corelib/animation/qpropertyanimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/animation/qpropertyanimation.cpp b/src/corelib/animation/qpropertyanimation.cpp
index 51fd387..0c1feee 100644
--- a/src/corelib/animation/qpropertyanimation.cpp
+++ b/src/corelib/animation/qpropertyanimation.cpp
@@ -293,7 +293,7 @@ void QPropertyAnimation::updateState(QAbstractAnimation::State oldState,
hash.insert(key, this);
// update the default start value
if (oldState == Stopped) {
- d->setDefaultStartValue(d->target->property(d->propertyName.constData()));
+ d->setDefaultStartEndValue(d->target->property(d->propertyName.constData()));
//let's check if we have a start value and an end value
if (d->direction == Forward && !startValue().isValid() && !d->defaultStartEndValue.isValid())
qWarning("QPropertyAnimation::updateState: starting an animation without start value");