projects
/
konrad/DeclarativeWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c94a3c1
)
Use qWarning instead of qFatal to quit app
author
Tobias Koenig
<tobias.koenig@kdab.com>
Sun, 28 Oct 2012 11:56:54 +0000 (12:56 +0100)
committer
Tobias Koenig
<tobias.koenig@kdab.com>
Sun, 28 Oct 2012 11:56:54 +0000 (12:56 +0100)
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/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;
}