summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/threadpooler/tst_threadpooler.cpp
diff options
context:
space:
mode:
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