From 15416b1ffc6ce83a11bfe5d05e97ecdc45d3411c Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 20 Feb 2018 16:21:38 +0100 Subject: qmlcachegen: fix error messages for js files Change-Id: I3c9e33f882358fd4cb8b1b8764bf083ddbd792b1 Reviewed-by: Simon Hausmann --- tools/qmlcachegen/qmlcachegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/qmlcachegen/qmlcachegen.cpp') diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp index 7c04f69a2b..1751ba2ecf 100644 --- a/tools/qmlcachegen/qmlcachegen.cpp +++ b/tools/qmlcachegen/qmlcachegen.cpp @@ -545,7 +545,7 @@ int main(int argc, char **argv) } else if (inputFile.endsWith(QLatin1String(".js"))) { Error error; if (!compileJSFile(inputFile, inputFileUrl, saveFunction, &error)) { - error.augment(QLatin1String("Error compiling qml file: ")).print(); + error.augment(QLatin1String("Error compiling js file: ")).print(); return EXIT_FAILURE; } } else { -- cgit v1.2.3