diff options
| author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-08 06:29:46 (GMT) |
|---|---|---|
| committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-08 06:29:46 (GMT) |
| commit | fda3e9d3e36e95392ad0882b445bb004001b9688 (patch) | |
| tree | 39f95115a542d9e16a1d6af7dfb89be70dee2e41 /src/declarative/qml/qdeclarativescriptparser.cpp | |
| parent | 5e9fd297dc7fdc0a96809d3533e6fada4a31fb62 (diff) | |
| parent | 47044566c499a702da6cb372044b6402e218835d (diff) | |
| download | Qt-fda3e9d3e36e95392ad0882b445bb004001b9688.zip Qt-fda3e9d3e36e95392ad0882b445bb004001b9688.tar.gz Qt-fda3e9d3e36e95392ad0882b445bb004001b9688.tar.bz2 | |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src/declarative/qml/qdeclarativescriptparser.cpp')
| -rw-r--r-- | src/declarative/qml/qdeclarativescriptparser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativescriptparser.cpp b/src/declarative/qml/qdeclarativescriptparser.cpp index b4938bb..507ff5b 100644 --- a/src/declarative/qml/qdeclarativescriptparser.cpp +++ b/src/declarative/qml/qdeclarativescriptparser.cpp @@ -828,6 +828,7 @@ bool ProcessAST::visit(AST::UiSourceElement *node) if (AST::FunctionDeclaration *funDecl = AST::cast<AST::FunctionDeclaration *>(node->sourceElement)) { Object::DynamicSlot slot; + slot.location = location(funDecl->firstSourceLocation(), funDecl->lastSourceLocation()); AST::FormalParameterList *f = funDecl->formals; while (f) { |
