From 98e17d6a8ecd46a9d6956d81f781b05e940387e4 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 15 Sep 2016 11:58:26 +0200 Subject: Adapt to KAsync changes. --- accounts/imap/tests/settingstest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accounts/imap/tests/settingstest.cpp') diff --git a/accounts/imap/tests/settingstest.cpp b/accounts/imap/tests/settingstest.cpp index 4301943c..2fbc9b7b 100644 --- a/accounts/imap/tests/settingstest.cpp +++ b/accounts/imap/tests/settingstest.cpp @@ -43,7 +43,7 @@ private slots: settings.setProperty("emailAddress", emailAddress); settings.save(); - Sink::Store::fetchAll(Sink::Query()).then>([](const QList &resources) { + Sink::Store::fetchAll(Sink::Query()).syncThen>([](const QList &resources) { QCOMPARE(resources.size(), 2); }) .exec().waitForFinished(); @@ -76,7 +76,7 @@ private slots: settings.remove(); } - Sink::Store::fetchAll(Sink::Query()).then>([](const QList &resources) { + Sink::Store::fetchAll(Sink::Query()).syncThen>([](const QList &resources) { QCOMPARE(resources.size(), 0); }) .exec().waitForFinished(); -- cgit v1.2.3