From 03154b7897e39c450a6b6958d557a46c0f7e5bdc Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 14 Mar 2017 11:41:45 +0100 Subject: This is not necessary --- sinksh/syntax_modules/sink_sync.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'sinksh') diff --git a/sinksh/syntax_modules/sink_sync.cpp b/sinksh/syntax_modules/sink_sync.cpp index 250cd75..ed2912e 100644 --- a/sinksh/syntax_modules/sink_sync.cpp +++ b/sinksh/syntax_modules/sink_sync.cpp @@ -51,7 +51,6 @@ bool sync(const QStringList &args, State &state) } } - QTimer::singleShot(0, [query, state]() { Sink::Store::synchronize(query) .then(Sink::ResourceControl::flushMessageQueue(query.getResourceFilter().ids)) .then([state](const KAsync::Error &error) { @@ -62,7 +61,6 @@ bool sync(const QStringList &args, State &state) } state.commandFinished(); }).exec(); - }); return true; } -- cgit v1.2.3