summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlanimation.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-10 07:34:31 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-10 07:34:31 (GMT)
commita3627a496c3b7c6c007fe01cabcba65bc073f0a7 (patch)
tree2c2bc4db3ce82308d5657321effaf29f3c07e211 /src/declarative/util/qmlanimation.cpp
parentbdfccf48dc66a49a8adc3a160d6a873bf2b48adf (diff)
downloadQt-a3627a496c3b7c6c007fe01cabcba65bc073f0a7.zip
Qt-a3627a496c3b7c6c007fe01cabcba65bc073f0a7.tar.gz
Qt-a3627a496c3b7c6c007fe01cabcba65bc073f0a7.tar.bz2
Return qmlInfo(obj) << syntax.
Fixes QTBUG-5480
Diffstat (limited to 'src/declarative/util/qmlanimation.cpp')
-rw-r--r--src/declarative/util/qmlanimation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp
index 435ddae..62d1937 100644
--- a/src/declarative/util/qmlanimation.cpp
+++ b/src/declarative/util/qmlanimation.cpp
@@ -225,10 +225,10 @@ QmlMetaProperty QmlAbstractAnimationPrivate::createProperty(QObject *obj, const
Q_Q(QmlAbstractAnimation);
QmlMetaProperty prop = QmlMetaProperty::createProperty(obj, str);
if (!prop.isValid()) {
- qmlInfo(QmlAbstractAnimation::tr("Cannot animate non-existant property \"%1\"").arg(str), q);
+ qmlInfo(q) << QmlAbstractAnimation::tr("Cannot animate non-existant property \"%1\"").arg(str);
return QmlMetaProperty();
} else if (!prop.isWritable()) {
- qmlInfo(QmlAbstractAnimation::tr("Cannot animate read-only property \"%1\"").arg(str), q);
+ qmlInfo(q) << QmlAbstractAnimation::tr("Cannot animate read-only property \"%1\"").arg(str);
return QmlMetaProperty();
}
return prop;
@@ -1021,7 +1021,7 @@ void QmlPropertyAction::transition(QmlStateActions &actions,
bool hasTarget = !d->propertyName.isEmpty() || d->target;
if (hasSelectors && hasTarget) {
- qmlInfo(tr("matchTargets/matchProperties/exclude and target/property are mutually exclusive."), this);
+ qmlInfo(this) << tr("matchTargets/matchProperties/exclude and target/property are mutually exclusive.");
return;
}
@@ -2017,7 +2017,7 @@ void QmlPropertyAnimation::transition(QmlStateActions &actions,
bool hasTarget = !d->propertyName.isEmpty() || d->target;
if (hasSelectors && hasTarget) {
- qmlInfo(tr("matchTargets/matchProperties/exclude and target/property are mutually exclusive."), this);
+ qmlInfo(this) << tr("matchTargets/matchProperties/exclude and target/property are mutually exclusive.");
return;
}