summaryrefslogtreecommitdiffstats
path: root/examples/client/main.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-14 18:52:04 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-14 18:52:04 +0100
commit78284e0963d93e3e0f85e2165013412580a3b8c1 (patch)
treeb4f0b5750c3f27ad107cc66358bd7b930b8399bc /examples/client/main.cpp
parent7de95983b30ca414c04bb3f877b67c1b7e9d6fa0 (diff)
downloadsink-78284e0963d93e3e0f85e2165013412580a3b8c1.tar.gz
sink-78284e0963d93e3e0f85e2165013412580a3b8c1.zip
Got rid of all uses of Query::syncOnDemand and Query::processAll
Diffstat (limited to 'examples/client/main.cpp')
-rw-r--r--examples/client/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/client/main.cpp b/examples/client/main.cpp
index 127fd2f..6660f86 100644
--- a/examples/client/main.cpp
+++ b/examples/client/main.cpp
@@ -120,7 +120,6 @@ public:
120 QObject::connect(syncButton, &QPushButton::pressed, []() { 120 QObject::connect(syncButton, &QPushButton::pressed, []() {
121 Akonadi2::Query query; 121 Akonadi2::Query query;
122 query.resources << "org.kde.dummy.instance1"; 122 query.resources << "org.kde.dummy.instance1";
123 query.syncOnDemand = true;
124 Akonadi2::Store::synchronize(query).exec(); 123 Akonadi2::Store::synchronize(query).exec();
125 }); 124 });
126 125
@@ -198,8 +197,6 @@ int main(int argc, char *argv[])
198 for (const auto &res : resources) { 197 for (const auto &res : resources) {
199 query.resources << res.toLatin1(); 198 query.resources << res.toLatin1();
200 } 199 }
201 query.syncOnDemand = false;
202 query.processAll = false;
203 query.liveQuery = true; 200 query.liveQuery = true;
204 if (type == "folder") { 201 if (type == "folder") {
205 query.parentProperty = "parent"; 202 query.parentProperty = "parent";