summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/threadpooler/tst_threadpooler.cpp
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2023-06-09 17:08:30 +0300
committerTarja Sundqvist <tarja.sundqvist@qt.io>2023-06-09 17:08:30 +0300
commitc1f8fa2578d99e07f5e581f26bd532695b9534f9 (patch)
treef2564e0cde06e298b603e867766a6024f6ea943b /tests/auto/core/threadpooler/tst_threadpooler.cpp
parent01aa0a9cb22ce5ed2b7ead03ed9cbeb5f978e897 (diff)
parentdc68b942aaf17338e4e74d959ab6f56b2134e1a4 (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.11' into tqtc/lts-5.15-opensourcev5.15.11-lts-lgpl
Diffstat (limited to 'tests/auto/core/threadpooler/tst_threadpooler.cpp')
-rw-r--r--tests/auto/core/threadpooler/tst_threadpooler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/core/threadpooler/tst_threadpooler.cpp b/tests/auto/core/threadpooler/tst_threadpooler.cpp
index 289f0b103..8941d8489 100644
--- a/tests/auto/core/threadpooler/tst_threadpooler.cpp
+++ b/tests/auto/core/threadpooler/tst_threadpooler.cpp
@@ -194,7 +194,7 @@ void tst_ThreadPooler::defaultPerThread()
{
// GIVEN
QAtomicInt callCounter;
- int maxThreadCount = QThread::idealThreadCount();
+ int maxThreadCount = Qt3DCore::QAspectJobManager::idealThreadCount();
callCounter.storeRelaxed(0);
// WHEN