summaryrefslogtreecommitdiffstats
path: root/framework/actions/actionhandler.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-12 12:54:14 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-12 12:54:14 +0100
commit859f30d21532644c3b90e79f6686aa7375046087 (patch)
treed01790bfed07916ccada9193650f56127cb3e715 /framework/actions/actionhandler.h
parent654092d41253ff993095b845a6c3e338a563547e (diff)
downloadkube-859f30d21532644c3b90e79f6686aa7375046087.tar.gz
kube-859f30d21532644c3b90e79f6686aa7375046087.zip
syncThen is no longer necessary.
Diffstat (limited to 'framework/actions/actionhandler.h')
-rw-r--r--framework/actions/actionhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/actions/actionhandler.h b/framework/actions/actionhandler.h
index 5ccf0ac7..c0e1b318 100644
--- a/framework/actions/actionhandler.h
+++ b/framework/actions/actionhandler.h
@@ -73,7 +73,7 @@ public:
73 ActionResult result; 73 ActionResult result;
74 auto wrapper = ContextType{*c}; 74 auto wrapper = ContextType{*c};
75 execute(wrapper) 75 execute(wrapper)
76 .template syncThen<void>([=](const KAsync::Error &error) { 76 .template then([=](const KAsync::Error &error) {
77 auto modifyableResult = result; 77 auto modifyableResult = result;
78 if (error) { 78 if (error) {
79 qWarning() << "Job failed: " << error.errorCode << error.errorMessage; 79 qWarning() << "Job failed: " << error.errorCode << error.errorMessage;