summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-12-16 04:50:39 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-12-16 05:43:04 (GMT)
commite528394f428ba815fe61e4d2f5248b9bd11db375 (patch)
tree230c014350467986aaaa2671eca9ab9f7794c362
parentb9d7f819b7bf9f7c39735377ae2e3e4d4afa1cf7 (diff)
downloadQt-e528394f428ba815fe61e4d2f5248b9bd11db375.zip
Qt-e528394f428ba815fe61e4d2f5248b9bd11db375.tar.gz
Qt-e528394f428ba815fe61e4d2f5248b9bd11db375.tar.bz2
Include more info for state debugging.
-rw-r--r--src/declarative/util/qmlstate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/util/qmlstate.cpp b/src/declarative/util/qmlstate.cpp
index 98cc0b6..1749c3a 100644
--- a/src/declarative/util/qmlstate.cpp
+++ b/src/declarative/util/qmlstate.cpp
@@ -444,10 +444,10 @@ void QmlState::apply(QmlStateGroup *group, QmlTransition *trans, QmlState *rever
if (stateChangeDebug()) {
foreach(const Action &action, applyList) {
if (action.event)
- qWarning() << " Action event:" << action.event;
+ qWarning() << " Action event:" << action.event->typeName();
else
qWarning() << " Action:" << action.property.object()
- << action.property.name() << action.toValue;
+ << action.property.name() << action.fromValue << action.toValue;
}
}