From eb6e9229c8cecd4b573039fafd644a16912e31f6 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 12 Dec 2016 15:17:32 +0100 Subject: Adapt to kasync changes --- common/commandprocessor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/commandprocessor.cpp') diff --git a/common/commandprocessor.cpp b/common/commandprocessor.cpp index 20fcf3a..efcd077 100644 --- a/common/commandprocessor.cpp +++ b/common/commandprocessor.cpp @@ -227,7 +227,7 @@ KAsync::Job CommandProcessor::processQueue(MessageQueue *queue) { auto time = QSharedPointer::create(); return KAsync::syncStart([this]() { mPipeline->startTransaction(); }) - .then(KAsync::dowhile( + .then(KAsync::doWhile( [this, queue, time]() -> KAsync::Job { return queue->dequeueBatch(sBatchSize, [this, time](const QByteArray &data) -> KAsync::Job { @@ -265,7 +265,7 @@ KAsync::Job CommandProcessor::processPipeline() return KAsync::null(); } auto it = QSharedPointer>::create(mCommandQueues); - return KAsync::dowhile( + return KAsync::doWhile( [it, this]() { auto time = QSharedPointer::create(); time->start(); -- cgit v1.2.3