summaryrefslogtreecommitdiffstats
path: root/sinksh/syntax_modules
diff options
context:
space:
mode:
Diffstat (limited to 'sinksh/syntax_modules')
-rw-r--r--sinksh/syntax_modules/sink_sync.cpp2
1 files changed, 1 insertions, 1 deletions
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)
54 QTimer::singleShot(0, [query, state]() { 54 QTimer::singleShot(0, [query, state]() {
55 Sink::Store::synchronize(query) 55 Sink::Store::synchronize(query)
56 .then(Sink::ResourceControl::flushMessageQueue(query.getResourceFilter().ids)) 56 .then(Sink::ResourceControl::flushMessageQueue(query.getResourceFilter().ids))
57 .syncThen<void>([state](const KAsync::Error &error) { 57 .then([state](const KAsync::Error &error) {
58 if (error) { 58 if (error) {
59 state.printLine("Synchronization failed!"); 59 state.printLine("Synchronization failed!");
60 } else { 60 } else {