mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-24 16:31:22 +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. |
||
---|---|---|
.. | ||
clementine-spotifyblob | ||
clementine-tagreader | ||
libclementine-common | ||
libclementine-remote | ||
libclementine-spotifyblob | ||
libclementine-tagreader |