diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-14 11:41:45 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-14 11:41:45 +0100 |
commit | 03154b7897e39c450a6b6958d557a46c0f7e5bdc (patch) | |
tree | fd42e121b19e4f55dc44d456f1573ea85c65746a /sinksh/syntax_modules | |
parent | 6f3f86f9617486e1d30f263189fedafa1fedd62e (diff) | |
download | sink-03154b7897e39c450a6b6958d557a46c0f7e5bdc.tar.gz sink-03154b7897e39c450a6b6958d557a46c0f7e5bdc.zip |
This is not necessary
Diffstat (limited to 'sinksh/syntax_modules')
-rw-r--r-- | sinksh/syntax_modules/sink_sync.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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) | |||
51 | } | 51 | } |
52 | } | 52 | } |
53 | 53 | ||
54 | QTimer::singleShot(0, [query, state]() { | ||
55 | Sink::Store::synchronize(query) | 54 | Sink::Store::synchronize(query) |
56 | .then(Sink::ResourceControl::flushMessageQueue(query.getResourceFilter().ids)) | 55 | .then(Sink::ResourceControl::flushMessageQueue(query.getResourceFilter().ids)) |
57 | .then([state](const KAsync::Error &error) { | 56 | .then([state](const KAsync::Error &error) { |
@@ -62,7 +61,6 @@ bool sync(const QStringList &args, State &state) | |||
62 | } | 61 | } |
63 | state.commandFinished(); | 62 | state.commandFinished(); |
64 | }).exec(); | 63 | }).exec(); |
65 | }); | ||
66 | 64 | ||
67 | return true; | 65 | return true; |
68 | } | 66 | } |