diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-13 17:52:58 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-13 17:52:58 +0100 |
commit | 1cbd91edbc2c9f1d2f96f9c1f5d5636923a114f6 (patch) | |
tree | f2b90018c88f912943d112006315c4a5f1a4cdde | |
parent | 57a88e6c1514b85d25b066059defcd62d2ccd8d6 (diff) | |
download | sink-1cbd91edbc2c9f1d2f96f9c1f5d5636923a114f6.tar.gz sink-1cbd91edbc2c9f1d2f96f9c1f5d5636923a114f6.zip |
No need to wrap those in jobs
-rw-r--r-- | common/commandprocessor.cpp | 4 |
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 | })) |