summaryrefslogtreecommitdiffstats
path: root/tests/maildirsyncbenchmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/maildirsyncbenchmark.cpp')
-rw-r--r--tests/maildirsyncbenchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/maildirsyncbenchmark.cpp b/tests/maildirsyncbenchmark.cpp
index d84c758..ab09395 100644
--- a/tests/maildirsyncbenchmark.cpp
+++ b/tests/maildirsyncbenchmark.cpp
@@ -87,7 +87,7 @@ private slots:
87 MaildirResource resource("sink.maildir.test1", pipeline); 87 MaildirResource resource("sink.maildir.test1", pipeline);
88 QTime time; 88 QTime time;
89 time.start(); 89 time.start();
90 resource.Sink::GenericResource::synchronizeWithSource().exec().waitForFinished(); 90 resource.Sink::GenericResource::synchronizeWithSource(Sink::QueryBase()).exec().waitForFinished();
91 std::cout << "Sync took " << time.elapsed() << std::endl; 91 std::cout << "Sync took " << time.elapsed() << std::endl;
92 resource.processAllMessages().exec().waitForFinished(); 92 resource.processAllMessages().exec().waitForFinished();
93 const auto allProcessedTime = time.elapsed(); 93 const auto allProcessedTime = time.elapsed();