aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmltc/qmltccompiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmltc/qmltccompiler.h')
-rw-r--r--tools/qmltc/qmltccompiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmltc/qmltccompiler.h b/tools/qmltc/qmltccompiler.h
index e55ee47538..248029719f 100644
--- a/tools/qmltc/qmltccompiler.h
+++ b/tools/qmltc/qmltccompiler.h
@@ -102,7 +102,7 @@ private:
void recordError(const QV4::CompiledData::Location &location, const QString &message,
QQmlJSLoggerCategory category = Log_Compiler)
{
- recordError(QQmlJS::SourceLocation { 0, 0, location.line, location.column }, message,
+ recordError(QQmlJS::SourceLocation { 0, 0, location.line(), location.column() }, message,
category);
}
};