Dont do qsrand on Qt versions higher than Qt 5.10

This commit is contained in:
Jonas Kvinge
2020-05-29 17:40:34 +02:00
parent c35235371a
commit cf9a7e6ed3

View File

@@ -160,7 +160,9 @@ int main(int argc, char* argv[]) {
// Seed the random number generators.
time_t t = time(nullptr);
srand(t);
#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0)
qsrand(t);
#endif
Utilities::IncreaseFDLimit();