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. --- framework/accounts/accountfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/accounts/accountfactory.cpp') diff --git a/framework/accounts/accountfactory.cpp b/framework/accounts/accountfactory.cpp index 182a0a1d..c590e4b6 100644 --- a/framework/accounts/accountfactory.cpp +++ b/framework/accounts/accountfactory.cpp @@ -44,7 +44,7 @@ void AccountFactory::setAccountId(const QString &accountId) { mAccountId = accountId; Sink::Store::fetchOne(Sink::Query().filter(accountId.toUtf8())) - .syncThen([this](const Sink::ApplicationDomain::SinkAccount &account) { + .then([this](const Sink::ApplicationDomain::SinkAccount &account) { mAccountType = account.getProperty("type").toByteArray(); loadPackage(); }).exec(); -- cgit v1.2.3