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