summaryrefslogtreecommitdiffstats
path: root/common/commandprocessor.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-13 17:52:58 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-13 17:52:58 +0100
commit1cbd91edbc2c9f1d2f96f9c1f5d5636923a114f6 (patch)
treef2b90018c88f912943d112006315c4a5f1a4cdde /common/commandprocessor.cpp
parent57a88e6c1514b85d25b066059defcd62d2ccd8d6 (diff)
downloadsink-1cbd91edbc2c9f1d2f96f9c1f5d5636923a114f6.tar.gz
sink-1cbd91edbc2c9f1d2f96f9c1f5d5636923a114f6.zip
No need to wrap those in jobs
Diffstat (limited to 'common/commandprocessor.cpp')
-rw-r--r--common/commandprocessor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/commandprocessor.cpp b/common/commandprocessor.cpp
index 33e2f81..2d9e93c 100644
--- a/common/commandprocessor.cpp
+++ b/common/commandprocessor.cpp
@@ -245,9 +245,9 @@ KAsync::Job<void> CommandProcessor::processQueue(MessageQueue *queue)
245 } 245 }
246 } 246 }
247 if (queue->isEmpty()) { 247 if (queue->isEmpty()) {
248 return KAsync::value<KAsync::ControlFlowFlag>(KAsync::Break); 248 return KAsync::Break;
249 } else { 249 } else {
250 return KAsync::value<KAsync::ControlFlowFlag>(KAsync::Continue); 250 return KAsync::Continue;
251 } 251 }
252 }); 252 });
253 })) 253 }))