diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-02-20 16:21:38 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-02-20 16:31:53 +0000 |
commit | 15416b1ffc6ce83a11bfe5d05e97ecdc45d3411c (patch) | |
tree | e43ef4493f2ec9ed87371fa956e5c0e2b4a55d57 /tools/qmlcachegen/qmlcachegen.cpp | |
parent | 7c2152f687fddf8d9358d7bf9aefd9aa03621975 (diff) |
qmlcachegen: fix error messages for js files
Change-Id: I3c9e33f882358fd4cb8b1b8764bf083ddbd792b1
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools/qmlcachegen/qmlcachegen.cpp')
-rw-r--r-- | tools/qmlcachegen/qmlcachegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |