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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qmltc/qmltccompiler.h b/tools/qmltc/qmltccompiler.h
index deb9f19793..5d660ad36b 100644
--- a/tools/qmltc/qmltccompiler.h
+++ b/tools/qmltc/qmltccompiler.h
@@ -140,17 +140,17 @@ private:
bool hasErrors() const { return m_logger->hasErrors(); }
void recordError(const QQmlJS::SourceLocation &location, const QString &message,
- QQmlJSLoggerCategory category = Log_Compiler)
+ LoggerWarningId id = qmlCompiler)
{
// pretty much any compiler error is a critical error (we cannot
// generate code - compilation fails)
- m_logger->log(message, category, location);
+ m_logger->log(message, id, location);
}
void recordError(const QV4::CompiledData::Location &location, const QString &message,
- QQmlJSLoggerCategory category = Log_Compiler)
+ LoggerWarningId id = qmlCompiler)
{
recordError(QQmlJS::SourceLocation { 0, 0, location.line(), location.column() }, message,
- category);
+ id);
}
};