summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-20 13:37:58 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-08-14 09:59:36 +0200
commit9ee554ac1d1af97e7ad5b4bf78e2779f7d1c405f (patch)
treec40e65aa3b2f7d02c32b592855c8c03252909c2b /tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
parentff555d89650f5cea72365e12fb2b71be9e25b89d (diff)
qglobal.h: remove deprecated global functions
Since 5.0 - qMalloc(), qFree(), qRealloc(), qMemCopy(), qMemSet() Since 5.15 - qsrand(), qrand() Change-Id: I74fa3d17b05521271c3dc563fc85a5b133289ce3 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp')
-rw-r--r--tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp b/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
index 820a0b999b..6b8f634e1f 100644
--- a/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
+++ b/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
@@ -185,7 +185,7 @@ void tst_QGlobalStatic::threadStressTest()
void run()
{
QReadLocker l(lock);
- //usleep(qrand() * 200 / RAND_MAX);
+ //usleep(QRandomGenerator::global()->generate(200));
// thundering herd
try {
threadStressTestGS();