summaryrefslogtreecommitdiff
path: root/resourceqt-client/resourceqt-client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'resourceqt-client/resourceqt-client.cpp')
-rw-r--r--resourceqt-client/resourceqt-client.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/resourceqt-client/resourceqt-client.cpp b/resourceqt-client/resourceqt-client.cpp
index e2468c5..ed268ef 100644
--- a/resourceqt-client/resourceqt-client.cpp
+++ b/resourceqt-client/resourceqt-client.cpp
@@ -20,7 +20,7 @@ void debugOutput(QtMsgType type, const char *msg)
fprintf(stderr, "Critical: %s\n", msg);
break;
case QtFatalMsg:
- fprintf(stderr, "Fatal: %s\n", msg);
+ fprintf(stderr, "Fatal Error: %s\n", msg);
abort();
}
}
@@ -37,8 +37,7 @@ int main(int argc, char *argv[])
}
if (!client.initialize(parser)) {
- printf("Initialization failed\n");
- return 2;
+ qFatal("Initialization failed\n");
}
return app.exec();