From 859f30d21532644c3b90e79f6686aa7375046087 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 12 Jan 2017 12:54:14 +0100 Subject: syncThen is no longer necessary. --- framework/actions/actionhandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/actions/actionhandler.h') 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: ActionResult result; auto wrapper = ContextType{*c}; execute(wrapper) - .template syncThen([=](const KAsync::Error &error) { + .template then([=](const KAsync::Error &error) { auto modifyableResult = result; if (error) { qWarning() << "Job failed: " << error.errorCode << error.errorMessage; -- cgit v1.2.3