diff options
Diffstat (limited to 'kio/kio/scheduler.cpp')
-rw-r--r-- | kio/kio/scheduler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kio/kio/scheduler.cpp b/kio/kio/scheduler.cpp index 9b518b1ef..5bda16786 100644 --- a/kio/kio/scheduler.cpp +++ b/kio/kio/scheduler.cpp @@ -346,7 +346,7 @@ bool Scheduler::startJobScheduled(ProtocolInfo *protInfo) // Prevent starvation. We skip the first entry in the queue at most // 2 times in a row. The protInfo->skipCount = 0; - job = protInfo->joblist.at(0); + job = protInfo->joblist.tqat(0); slave = findIdleSlave(protInfo, job, dummy ); } else @@ -356,7 +356,7 @@ bool Scheduler::startJobScheduled(ProtocolInfo *protInfo) Slave *firstSlave = 0; for(uint i = 0; (i < protInfo->joblist.count()) && (i < 10); i++) { - job = protInfo->joblist.at(i); + job = protInfo->joblist.tqat(i); slave = findIdleSlave(protInfo, job, exact); if (!firstSlave) { |