Use qWarning instead of qFatal to quit app
authorTobias Koenig <tobias.koenig@kdab.com>
Sun, 28 Oct 2012 11:56:54 +0000 (12:56 +0100)
committerTobias Koenig <tobias.koenig@kdab.com>
Sun, 28 Oct 2012 11:56:54 +0000 (12:56 +0100)
main.cpp

index 0ea10e3..e9331f9 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -14,7 +14,7 @@ int main(int argc, char **argv)
 
   const QStringList arguments = app.arguments();
   if (arguments.count() < 2) {
-      qFatal("Missing QML file argument. Usage: qmlwidgets <qmlfile>");
+      qWarning("Missing QML file argument. Usage: qmlwidgets <qmlfile>");
       return -1;
   }