summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/declarative/util/qmlanimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp
index 4b33af0..e1e247c 100644
--- a/src/declarative/util/qmlanimation.cpp
+++ b/src/declarative/util/qmlanimation.cpp
@@ -2150,7 +2150,7 @@ void QmlPropertyAnimation::transition(QmlStateActions &actions,
targets.append(d->target);
bool hasSelectors = !props.isEmpty() || !targets.isEmpty() || !d->exclude.isEmpty();
- bool useType = (props.isEmpty() && d->propertyName.isEmpty() && d->defaultToInterpolatorType) ? true : false;
+ bool useType = (props.isEmpty() && d->defaultToInterpolatorType) ? true : false;
if (d->defaultProperty.isValid() && !hasSelectors) {
props << d->defaultProperty.name();