From 7daeec83233c522980d5e477fee82045de57f77d Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 12 Jan 2017 11:45:15 +0100 Subject: syncThen is no longer necessary --- tests/mailthreadtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mailthreadtest.cpp') diff --git a/tests/mailthreadtest.cpp b/tests/mailthreadtest.cpp index 3684514..82f9331 100644 --- a/tests/mailthreadtest.cpp +++ b/tests/mailthreadtest.cpp @@ -179,7 +179,7 @@ void MailThreadTest::testIndexInMixedOrder() /* VERIFYEXEC(ResourceControl::flushMessageQueue(QByteArrayList() << mResourceInstanceIdentifier)); */ /* { */ /* auto job = Store::fetchAll(Query::RequestedProperties(QByteArrayList() << Mail::Folder::name << Mail::Subject::name)) */ - /* .syncThen>([=](const QList &mails) { */ + /* .then([=](const QList &mails) { */ /* QCOMPARE(mails.size(), 0); */ /* }); */ /* VERIFYEXEC(job); */ -- cgit v1.2.3