diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-14 18:52:04 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-14 18:52:04 +0100 |
commit | 78284e0963d93e3e0f85e2165013412580a3b8c1 (patch) | |
tree | b4f0b5750c3f27ad107cc66358bd7b930b8399bc /akonadish/syntax_modules/akonadi_sync.cpp | |
parent | 7de95983b30ca414c04bb3f877b67c1b7e9d6fa0 (diff) | |
download | sink-78284e0963d93e3e0f85e2165013412580a3b8c1.tar.gz sink-78284e0963d93e3e0f85e2165013412580a3b8c1.zip |
Got rid of all uses of Query::syncOnDemand and Query::processAll
Diffstat (limited to 'akonadish/syntax_modules/akonadi_sync.cpp')
-rw-r--r-- | akonadish/syntax_modules/akonadi_sync.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/akonadish/syntax_modules/akonadi_sync.cpp b/akonadish/syntax_modules/akonadi_sync.cpp index 03abbb4..0c994d0 100644 --- a/akonadish/syntax_modules/akonadi_sync.cpp +++ b/akonadish/syntax_modules/akonadi_sync.cpp | |||
@@ -43,8 +43,6 @@ bool sync(const QStringList &args, State &state) | |||
43 | for (const auto &res : args) { | 43 | for (const auto &res : args) { |
44 | query.resources << res.toLatin1(); | 44 | query.resources << res.toLatin1(); |
45 | } | 45 | } |
46 | query.syncOnDemand = true; | ||
47 | query.processAll = true; | ||
48 | 46 | ||
49 | QTimer::singleShot(0, [query, state]() { | 47 | QTimer::singleShot(0, [query, state]() { |
50 | Akonadi2::Store::synchronize(query).then<void>([state]() { | 48 | Akonadi2::Store::synchronize(query).then<void>([state]() { |