summaryrefslogtreecommitdiffstats
path: root/src/client/main.cpp
diff options
context:
space:
mode:
authorChristian Klinger2016-09-29 15:40:18 +0200
committerChristian Klinger2016-09-29 15:40:18 +0200
commit3d82bfc698165bb20f3c38d42f2b77ab855c1edf (patch)
tree2c170bcdd5c89259bb0b530fa11fdfe701c99850 /src/client/main.cpp
parentadded an information dialog that displays ip and hostname. (diff)
downloadpvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.tar.gz
pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.tar.xz
pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.zip
astyle.
Diffstat (limited to 'src/client/main.cpp')
-rw-r--r--src/client/main.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/client/main.cpp b/src/client/main.cpp
index d0c6bd9..61ca0e9 100644
--- a/src/client/main.cpp
+++ b/src/client/main.cpp
@@ -8,20 +8,20 @@
int main(int argc, char** argv)
{
- ClientApp app(argc, argv);
- qsrand((uint)QDateTime::currentMSecsSinceEpoch());
+ 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;
- exit(0);
- } else if (a.contains("pvsclient")) {
- /* do nothing */
- } else {
- qStdout() << "Unknown argument: " << a << endl;
- exit(1);
- }
- }
- return app.exec();
+ /* 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;
+ exit(0);
+ } else if (a.contains("pvsclient")) {
+ /* do nothing */
+ } else {
+ qStdout() << "Unknown argument: " << a << endl;
+ exit(1);
+ }
+ }
+ return app.exec();
}