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. --- framework/domain/identitiesmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/domain/identitiesmodel.cpp') diff --git a/framework/domain/identitiesmodel.cpp b/framework/domain/identitiesmodel.cpp index adb5d625..1958d2f5 100644 --- a/framework/domain/identitiesmodel.cpp +++ b/framework/domain/identitiesmodel.cpp @@ -83,7 +83,7 @@ void IdentitiesModel::runQuery(const Sink::Query &query) setSourceModel(mModel.data()); Sink::Store::fetchAll(Sink::Query()) - .then >([this](const QList &accounts) { + .syncThen >([this](const QList &accounts) { for (const auto &account : accounts) { mAccountNames.insert(account->identifier(), account->getProperty("name").toString()); mAccountIcons.insert(account->identifier(), account->getProperty("icon").toString()); -- cgit v1.2.3