From 859f30d21532644c3b90e79f6686aa7375046087 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 12 Jan 2017 12:54:14 +0100 Subject: syncThen is no longer necessary. --- accounts/maildir/tests/settingstest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accounts/maildir/tests/settingstest.cpp') diff --git a/accounts/maildir/tests/settingstest.cpp b/accounts/maildir/tests/settingstest.cpp index 47cb3b35..bf041e3c 100644 --- a/accounts/maildir/tests/settingstest.cpp +++ b/accounts/maildir/tests/settingstest.cpp @@ -39,7 +39,7 @@ private slots: settings.setProperty("emailAddress", emailAddress); settings.save(); - Sink::Store::fetchAll(Sink::Query()).syncThen>([](const QList &resources) { + Sink::Store::fetchAll(Sink::Query()).then([](const QList &resources) { QCOMPARE(resources.size(), 2); }) .exec().waitForFinished(); @@ -70,7 +70,7 @@ private slots: settings.remove(); } - Sink::Store::fetchAll(Sink::Query()).syncThen>([](const QList &resources) { + Sink::Store::fetchAll(Sink::Query()).then([](const QList &resources) { QCOMPARE(resources.size(), 0); }) .exec().waitForFinished(); -- cgit v1.2.3