summaryrefslogtreecommitdiffstats
path: root/tests/modelinteractivitytest.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 /tests/modelinteractivitytest.cpp
parent7de95983b30ca414c04bb3f877b67c1b7e9d6fa0 (diff)
downloadsink-78284e0963d93e3e0f85e2165013412580a3b8c1.tar.gz
sink-78284e0963d93e3e0f85e2165013412580a3b8c1.zip
Got rid of all uses of Query::syncOnDemand and Query::processAll
Diffstat (limited to 'tests/modelinteractivitytest.cpp')
-rw-r--r--tests/modelinteractivitytest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/modelinteractivitytest.cpp b/tests/modelinteractivitytest.cpp
index 52db932..59c2c6f 100644
--- a/tests/modelinteractivitytest.cpp
+++ b/tests/modelinteractivitytest.cpp
@@ -73,11 +73,9 @@ private Q_SLOTS:
73 73
74 Akonadi2::Query query; 74 Akonadi2::Query query;
75 query.resources << "org.kde.dummy.instance1"; 75 query.resources << "org.kde.dummy.instance1";
76 query.syncOnDemand = false;
77 query.processAll = true;
78 query.liveQuery = true; 76 query.liveQuery = true;
79 77
80 Akonadi2::Store::synchronize(query).exec().waitForFinished(); 78 Akonadi2::Store::flushMessageQueue(query.resources).exec().waitForFinished();
81 79
82 //Test 80 //Test
83 QTime time; 81 QTime time;