aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldom/qqmldomcomments.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmldom/qqmldomcomments.cpp')
-rw-r--r--src/qmldom/qqmldomcomments.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmldom/qqmldomcomments.cpp b/src/qmldom/qqmldomcomments.cpp
index eeef08153c..1e73f12eaf 100644
--- a/src/qmldom/qqmldomcomments.cpp
+++ b/src/qmldom/qqmldomcomments.cpp
@@ -535,7 +535,7 @@ public:
bool visit(CallExpression *call) override
{
- addSourceLocations(call, call->lparenToken);
+ addSourceLocations(call, call->optionalToken);
addSourceLocations(call, call->lparenToken);
addSourceLocations(call, call->rparenToken);
return true;