From 7daeec83233c522980d5e477fee82045de57f77d Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 12 Jan 2017 11:45:15 +0100 Subject: syncThen is no longer necessary --- sinksh/syntax_modules/sink_sync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sinksh/syntax_modules/sink_sync.cpp') diff --git a/sinksh/syntax_modules/sink_sync.cpp b/sinksh/syntax_modules/sink_sync.cpp index f90f055..250cd75 100644 --- a/sinksh/syntax_modules/sink_sync.cpp +++ b/sinksh/syntax_modules/sink_sync.cpp @@ -54,7 +54,7 @@ bool sync(const QStringList &args, State &state) QTimer::singleShot(0, [query, state]() { Sink::Store::synchronize(query) .then(Sink::ResourceControl::flushMessageQueue(query.getResourceFilter().ids)) - .syncThen([state](const KAsync::Error &error) { + .then([state](const KAsync::Error &error) { if (error) { state.printLine("Synchronization failed!"); } else { -- cgit v1.2.3