diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-13 08:47:32 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-13 08:47:32 (GMT) |
commit | bd2cc45fefb024f91f9c0736c5abfe853e49b540 (patch) | |
tree | d9e385d0cb4e1bd8f169bdbc7dacf04259c4d7b2 /src | |
parent | b31ba48ffb7ee54949d7a5895de4e18a4e48ee5c (diff) | |
download | Qt-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.cpp | 2 |
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"); |