qt5base-lts/tests/auto/gui/image
Thiago Macieira 19b0ce5daa Change almost all other uses of qrand() to QRandomGenerator
The vast majority is actually switched to QRandomGenerator::bounded(),
which gives a mostly uniform distribution over the [0, bound)
range. There are very few floating point cases left, as many of those
that did use floating point did not need to, after all. (I did leave
some that were too ugly for me to understand)

This commit also found a couple of calls to rand() instead of qrand().

This commit does not include changes to SSL code that continues to use
qrand() (job for someone else):
  src/network/ssl/qsslkey_qt.cpp
  src/network/ssl/qsslsocket_mac.cpp
  tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp

Change-Id: Icd0e0d4b27cb4e5eb892fffd14b5285d43f4afbf
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-11-08 09:14:03 +00:00
..
qicoimageformat Merge remote-tracking branch 'origin/5.7' into dev 2016-05-23 21:09:46 +02:00
qicon Merge remote-tracking branch 'origin/5.9' into dev 2017-06-19 16:12:34 +02:00
qiconhighdpi qt_findAtNxFile(): account for .9 (9-patch image) extensions 2017-06-24 21:24:53 +00:00
qimage Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qimageiohandler Updated license headers 2016-01-21 18:55:18 +00:00
qimagereader tst_QImageReader: Fix the size of the SVG images 2017-08-02 20:25:47 +00:00
qimagewriter Allow QImage with more than 2GByte of image data 2017-07-08 08:17:13 +00:00
qmovie Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00
qpicture Updated license headers 2016-01-21 18:55:18 +00:00
qpixmap QRasterPlatformPixmap::createPixmapForImage(): preserve DPR 2017-02-06 16:57:41 +00:00
qpixmapcache Don't call releaseKey a second time if the insertion fails 2017-03-07 08:15:54 +00:00
image.pro Implement support for Scale directory key according to Icon Theme spec 2017-02-01 13:58:01 +00:00