Commit 23de26f1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 439786 - Folder default identity not applied if identity UOID > 0x7fffffff

FIXED-IN: 5.18.0
BUG: 439786
parent 449e06e0
Pipeline #70655 skipped
......@@ -247,7 +247,7 @@ int IdentityManager::Private::newUoid()
// default identity
do {
uoid = QRandomGenerator::global()->generate();
uoid = QRandomGenerator::global()->bounded(RAND_MAX);
} while (usedUOIDs.indexOf(uoid) != -1);
return uoid;
......
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