summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qvariantanimation.cpp
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-05-19 15:31:47 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-05-19 16:09:24 (GMT)
commitb2302dcc101fcef3c2841e9bd47790332e1cd4c2 (patch)
tree0475e65bc31743aee29793bcf1645be76c5800bc /src/corelib/animation/qvariantanimation.cpp
parent91803020462b7e42128644bdd9ed1d3455787f79 (diff)
downloadQt-b2302dcc101fcef3c2841e9bd47790332e1cd4c2.zip
Qt-b2302dcc101fcef3c2841e9bd47790332e1cd4c2.tar.gz
Qt-b2302dcc101fcef3c2841e9bd47790332e1cd4c2.tar.bz2
Removing QT_EXPERIMENTAL_SOLUTION from the animation api
Diffstat (limited to 'src/corelib/animation/qvariantanimation.cpp')
-rw-r--r--src/corelib/animation/qvariantanimation.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/corelib/animation/qvariantanimation.cpp b/src/corelib/animation/qvariantanimation.cpp
index 8ac8ca1..864575a 100644
--- a/src/corelib/animation/qvariantanimation.cpp
+++ b/src/corelib/animation/qvariantanimation.cpp
@@ -230,10 +230,7 @@ void QVariantAnimationPrivate::setCurrentValueForProgress(const qreal progress)
localProgress);
qSwap(currentValue, ret);
q->updateCurrentValue(currentValue);
-#ifndef QT_EXPERIMENTAL_SOLUTION
- if (connectedSignals & changedSignalMask)
-#endif
- if (currentValue != ret) {
+ if ((connectedSignals & changedSignalMask) && currentValue != ret) {
//the value has changed
emit q->valueChanged(currentValue);
}