diff options
Diffstat (limited to 'krita/core/kis_thread_pool.cc')
-rw-r--r-- | krita/core/kis_thread_pool.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/krita/core/kis_thread_pool.cc b/krita/core/kis_thread_pool.cc index 2f80a0ae..e617c8cb 100644 --- a/krita/core/kis_thread_pool.cc +++ b/krita/core/kis_thread_pool.cc @@ -115,18 +115,18 @@ void KisThreadPool::dequeue(KisThread * thread) m_poolMutex.lock(); - int i = m_threads.findRef(thread); + int i = m_threads.tqfindRef(thread); if (i >= 0) { t = m_threads.take(i); m_numberOfQueuedThreads--; } else { - i = m_runningThreads.findRef(thread); + i = m_runningThreads.tqfindRef(thread); if (i >= 0) { t = m_runningThreads.take(i); m_numberOfRunningThreads--; } else { - i = m_oldThreads.findRef(thread); + i = m_oldThreads.tqfindRef(thread); if (i >= 0) { t = m_oldThreads.take(i); } |