Use directly QRandomGenerator::global()->bounded(4000)

2 jobs for master
Status Job ID Name Coverage
  Build
canceled #54656
build_clazy_clang_tidy

canceled #54655
linux kf5-qt5 qt5.12