From be652c12dfa5162d952f5226de453e1a29957c3a Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 2 Mar 2017 12:27:09 +0100 Subject: Port away from syncStart --- common/commandprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/commandprocessor.cpp') diff --git a/common/commandprocessor.cpp b/common/commandprocessor.cpp index 5d5261f..33e2f81 100644 --- a/common/commandprocessor.cpp +++ b/common/commandprocessor.cpp @@ -227,7 +227,7 @@ KAsync::Job CommandProcessor::processQueuedCommand(const QByteArray &dat KAsync::Job CommandProcessor::processQueue(MessageQueue *queue) { auto time = QSharedPointer::create(); - return KAsync::syncStart([this]() { mPipeline->startTransaction(); }) + return KAsync::start([this]() { mPipeline->startTransaction(); }) .then(KAsync::doWhile( [this, queue, time]() -> KAsync::Job { return queue->dequeueBatch(sBatchSize, -- cgit v1.2.3