diff options
Diffstat (limited to 'tests/modelinteractivitytest.cpp')
-rw-r--r-- | tests/modelinteractivitytest.cpp | 4 |
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; |