summaryrefslogtreecommitdiffstats
path: root/src/declarative/extra/qmlbehavior.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/extra/qmlbehavior.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/extra/qmlbehavior.cpp')
-rw-r--r--src/declarative/extra/qmlbehavior.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/extra/qmlbehavior.cpp b/src/declarative/extra/qmlbehavior.cpp
index e5d3d35..8364d8c 100644
--- a/src/declarative/extra/qmlbehavior.cpp
+++ b/src/declarative/extra/qmlbehavior.cpp
@@ -109,7 +109,7 @@ void QmlBehavior::setAnimation(QmlAbstractAnimation *animation)
{
Q_D(QmlBehavior);
if (d->animation) {
- qmlInfo(tr("Can't change the animation assigned to a Behavior."),this);
+ qmlInfo(this) << tr("Can't change the animation assigned to a Behavior.");
return;
}