mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-23 08:20:01 +01:00
5f75bde396
QRandomGenerator::generate() returns an unbounded int32, while the legacy qrand method always returned a positive number. When generating a tag reader ID with QRandomGenerator, cast the random value to an unsigned so that it is formatted as a positive number in the name. Note that most usages of QRandomGenrator in the codebase use bounded() instead of generate(), and should work as expected. |
||
---|---|---|
.. | ||
core | ||
CMakeLists.txt |