qt5base-lts/tests/auto/widgets/dialogs
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
..
qcolordialog Updated license headers 2016-01-21 18:55:18 +00:00
qdialog Convert features.sizegrip to QT_[REQUIRE_]CONFIG 2017-09-12 18:12:47 +00:00
qerrormessage Updated license headers 2016-01-21 18:55:18 +00:00
qfiledialog QWidgetWindow: don't give focus to windows that are being destroyed 2017-05-30 10:49:36 +00:00
qfiledialog2 Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qfilesystemmodel tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qfontdialog Merge remote-tracking branch 'origin/5.7' into dev 2016-05-23 21:09:46 +02:00
qinputdialog Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
qmessagebox Ensure result of all QTest::qWaitFor are verified 2017-10-05 15:15:36 +00:00
qprogressdialog macOS: Blacklist tst_QProgressDialog::autoShow() 2017-07-02 09:30:45 +00:00
qsidebar Remove the traces of the discontinued android-no-sdk platform 2016-03-30 10:12:34 +00:00
qwizard QWizard: Do not remove the Next button's shortcut 2017-10-24 16:43:52 +00:00
dialogs.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00