diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-12-16 13:52:41 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-12-16 13:52:41 (GMT) |
commit | 03ce9eed5af9198170f175e976fb56682049b93c (patch) | |
tree | 3f71b37403ff14cdd6d6a172eb826ce9c0016f76 /src/declarative/qml/qmlscriptparser.cpp | |
parent | bb7a6e90375f4f546d1d5dc899e972d9389c2936 (diff) | |
parent | 87a939fa289a0d96c1f0eb10fa74b1cb89fc05f1 (diff) | |
download | Qt-03ce9eed5af9198170f175e976fb56682049b93c.zip Qt-03ce9eed5af9198170f175e976fb56682049b93c.tar.gz Qt-03ce9eed5af9198170f175e976fb56682049b93c.tar.bz2 |
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml/qmlscriptparser.cpp')
-rw-r--r-- | src/declarative/qml/qmlscriptparser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlscriptparser.cpp b/src/declarative/qml/qmlscriptparser.cpp index 35234ec..a24ef51 100644 --- a/src/declarative/qml/qmlscriptparser.cpp +++ b/src/declarative/qml/qmlscriptparser.cpp @@ -600,6 +600,9 @@ bool ProcessAST::visit(AST::UiPublicMember *node) if (node->expression) { // default value property.defaultValue = new Property; property.defaultValue->parent = _stateStack.top().object; + property.defaultValue->location = + location(node->expression->firstSourceLocation(), + node->expression->lastSourceLocation()); Value *value = new Value; value->location = location(node->expression->firstSourceLocation(), node->expression->lastSourceLocation()); |