Commit 62d17245 authored by Kurt Hindenburg's avatar Kurt Hindenburg

Use QDateTime::currentDateTimeUtc to avoid timezone calculations

Suppose to be faster since it ignores time zones - clazy
parent 846357c5
......@@ -77,7 +77,7 @@ QUuid createUuid()
} while ((max = max >> 1));
}
qsrand(uint(QDateTime::currentDateTime().toTime_t()));
qsrand(uint(QDateTime::currentDateTimeUtc().toTime_t()));
qrand(); // Skip first
QUuid result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment