summaryrefslogtreecommitdiffstats
path: root/src/sdk
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2020-10-01 19:02:26 +0300
committerKatja Marttila <katja.marttila@qt.io>2020-11-04 10:08:08 +0300
commit839679e4ec9667b2c36daab1fe0d499673228d50 (patch)
tree217016adf9bb38235feacd9139fb6f38626286fb /src/sdk
parentd3cae4df15598bf4797cd7fc03aced50bb5a25a1 (diff)
Replace obsolete qrand() with QRandomGenerator
Change-Id: Ie61b192bcf047cc70f728ea15370ff50e7a41769 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'src/sdk')
-rw-r--r--src/sdk/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sdk/main.cpp b/src/sdk/main.cpp
index 27b58465e..ecff6e7d2 100644
--- a/src/sdk/main.cpp
+++ b/src/sdk/main.cpp
@@ -74,8 +74,6 @@ int main(int argc, char *argv[])
setrlimit(RLIMIT_NOFILE, &rl);
#endif
- qsrand(QDateTime::currentDateTime().toTime_t());
-
// We need to start either a command line application or a GUI application. Since we
// fail doing so at least on Linux while parsing the argument using a core application
// object and later starting the GUI application, we now parse the arguments first.