diff options
author | Alan Alpert <416365416c@gmail.com> | 2012-12-06 14:17:47 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-06 23:20:25 +0100 |
commit | 425260c2b2a60c0c145a5e76a3b7835eadd0fd0d (patch) | |
tree | 038aa86196f931a10330b0c05ab969f11c636990 /tools | |
parent | b2c24447a14407f30a62a563326566d944a3c729 (diff) |
Change qFatal to qWarning
While the process should terminate immediately with a non-zero exit code
on component error, it does that in the next line already. The main
difference is dropping the backtrace, which is not useful in this case.
Change-Id: I866ea00e62cb9d1b7c506b9819cd9bb2750ac81f
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmlscene/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlscene/main.cpp b/tools/qmlscene/main.cpp index 87a577b44e..6a0d04beda 100644 --- a/tools/qmlscene/main.cpp +++ b/tools/qmlscene/main.cpp @@ -472,7 +472,7 @@ int main(int argc, char ** argv) QObject::connect(&engine, SIGNAL(quit()), QCoreApplication::instance(), SLOT(quit())); component->loadUrl(options.file); if ( !component->isReady() ) { - qFatal("%s", qPrintable(component->errorString())); + qWarning("%s", qPrintable(component->errorString())); return -1; } |