summaryrefslogtreecommitdiffstats
path: root/src/client/main.cpp
diff options
context:
space:
mode:
authorChristian Klinger2016-09-27 16:49:55 +0200
committerChristian Klinger2016-09-27 16:49:55 +0200
commit7b131b37d1dc642c3870ecca4dd04fdcfd19810d (patch)
tree1eca459e50c37c539a028b70502788c128865aee /src/client/main.cpp
parentreduced noise in the output (old debug messages...) (diff)
downloadpvs2-7b131b37d1dc642c3870ecca4dd04fdcfd19810d.tar.gz
pvs2-7b131b37d1dc642c3870ecca4dd04fdcfd19810d.tar.xz
pvs2-7b131b37d1dc642c3870ecca4dd04fdcfd19810d.zip
[client] removed some old code regarding settings.
Diffstat (limited to 'src/client/main.cpp')
-rw-r--r--src/client/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/main.cpp b/src/client/main.cpp
index 2730475..d0c6bd9 100644
--- a/src/client/main.cpp
+++ b/src/client/main.cpp
@@ -2,12 +2,16 @@
#include "clientapp/clientapp.h"
#include "util/util.h"
+
+/* instantiates the ClientApp, handles some extra parameters and starts the
+ * main-loop of ClientApp */
int main(int argc, char** argv)
{
ClientApp app(argc, argv);
qsrand((uint)QDateTime::currentMSecsSinceEpoch());
+ /* here we handle the arguments that were not handled by ClientApp */
for (QString a : app.arguments()) {
if (a == "--usage" || a == "--help") {
qStdout() << "Usage: pvsclient [--exam-mode] [--auto|--session=xxx|\"\"]" << endl;