summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/server/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/main.cpp b/src/server/main.cpp
index 9c44adf..34a585c 100644
--- a/src/server/main.cpp
+++ b/src/server/main.cpp
@@ -22,6 +22,7 @@ void usage()
int main(int argc, char** argv)
{
+ qsrand((uint)QDateTime::currentMSecsSinceEpoch());
ServerApp app(argc, argv);
for (QString a : app.arguments()) {
@@ -43,8 +44,6 @@ int main(int argc, char** argv)
break;
}
}
- qsrand((uint)QDateTime::currentMSecsSinceEpoch());
-
return app.exec();
}