diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-24 10:50:28 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-24 10:50:28 +0100 |
commit | c607a01b6931604baffef846dccad38f7a71a192 (patch) | |
tree | 3d29fc49740068c5c66f5da95aea11d884e5a30e /framework/actions/actionhandler.cpp | |
parent | 1bafda42888c37b47bdd5d18118bf3e6912f0f82 (diff) | |
parent | 07b55e8e8b21873eeb5b39f1306f6665b1630c46 (diff) | |
download | kube-c607a01b6931604baffef846dccad38f7a71a192.tar.gz kube-c607a01b6931604baffef846dccad38f7a71a192.zip |
Merge branch 'dev/imapsync' into develop
Diffstat (limited to 'framework/actions/actionhandler.cpp')
-rw-r--r-- | framework/actions/actionhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/actions/actionhandler.cpp b/framework/actions/actionhandler.cpp index eb7b3224..99fdf66a 100644 --- a/framework/actions/actionhandler.cpp +++ b/framework/actions/actionhandler.cpp | |||
@@ -138,7 +138,7 @@ ActionResult ActionHandlerHelper::execute(Context *context) | |||
138 | handlerFunction(context); | 138 | handlerFunction(context); |
139 | result.setDone(); | 139 | result.setDone(); |
140 | } else { | 140 | } else { |
141 | jobHandlerFunction(context).syncThen<void>([=](const KAsync::Error &error) { | 141 | jobHandlerFunction(context).then([=](const KAsync::Error &error) { |
142 | auto modifyableResult = result; | 142 | auto modifyableResult = result; |
143 | if (error) { | 143 | if (error) { |
144 | qWarning() << "Job failed: " << error.errorCode << error.errorMessage; | 144 | qWarning() << "Job failed: " << error.errorCode << error.errorMessage; |