diff options
Diffstat (limited to 'tools/qmljs/qmljs.cpp')
-rw-r--r-- | tools/qmljs/qmljs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmljs/qmljs.cpp b/tools/qmljs/qmljs.cpp index 8e270fc61b..5d7d065b50 100644 --- a/tools/qmljs/qmljs.cpp +++ b/tools/qmljs/qmljs.cpp @@ -208,7 +208,7 @@ int main(int argc, char *argv[]) result = script.run(); if (scope.engine->hasException) { QV4::StackTrace trace; - QV4::ScopedValue ex(scope, ctx->catchException(&trace)); + QV4::ScopedValue ex(scope, scope.engine->catchException(&trace)); showException(ctx, ex, trace); return EXIT_FAILURE; } |