From f1b1e45c3c66a9061becbee38aaabb3653a20d9d Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Thu, 18 Feb 2010 12:39:04 +1000 Subject: Remove unneeded comparison. d->propertyName is now included in props. --- src/declarative/util/qmlanimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v0.12