diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-04 06:04:15 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-04 06:04:59 (GMT) |
commit | 57d68b06c15f8426c25e357f97b9154056969e0f (patch) | |
tree | cdd224b86ea9bbead3f92563aadae34285885db6 /src/declarative/qml/qdeclarativescriptparser.cpp | |
parent | 5599ddd113fe1385e7a6aff708e12af419b8de87 (diff) | |
download | Qt-57d68b06c15f8426c25e357f97b9154056969e0f.zip Qt-57d68b06c15f8426c25e357f97b9154056969e0f.tar.gz Qt-57d68b06c15f8426c25e357f97b9154056969e0f.tar.bz2 |
Improve grouped property error messages
QT-2579
Diffstat (limited to 'src/declarative/qml/qdeclarativescriptparser.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativescriptparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativescriptparser.cpp b/src/declarative/qml/qdeclarativescriptparser.cpp index a4b3668..fe516c5 100644 --- a/src/declarative/qml/qdeclarativescriptparser.cpp +++ b/src/declarative/qml/qdeclarativescriptparser.cpp @@ -85,8 +85,8 @@ class ProcessAST: protected AST::Visitor { const State &state = top(); if (state.property) { - State s(state.property->getValue(), - state.property->getValue()->getProperty(name.toUtf8())); + State s(state.property->getValue(location), + state.property->getValue(location)->getProperty(name.toUtf8())); s.property->location = location; push(s); } else { |