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/maildircontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accounts/maildir/maildircontroller.cpp') diff --git a/accounts/maildir/maildircontroller.cpp b/accounts/maildir/maildircontroller.cpp index dc34d59a..fa211284 100644 --- a/accounts/maildir/maildircontroller.cpp +++ b/accounts/maildir/maildircontroller.cpp @@ -85,7 +85,7 @@ void MaildirController::loadAccount(const QByteArray &id) { Q_ASSERT(!mAccountIdentifier.isEmpty()); Store::fetchOne(Query().filter(mAccountIdentifier)) - .syncThen([this](const SinkAccount &account) { + .then([this](const SinkAccount &account) { mIcon = account.getIcon(); mName = account.getName(); emit nameChanged(); -- cgit v1.2.3