diff options
Diffstat (limited to 'framework/domain/identitiesmodel.cpp')
-rw-r--r-- | framework/domain/identitiesmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
83 | setSourceModel(mModel.data()); | 83 | setSourceModel(mModel.data()); |
84 | 84 | ||
85 | Sink::Store::fetchAll<Sink::ApplicationDomain::SinkAccount>(Sink::Query()) | 85 | Sink::Store::fetchAll<Sink::ApplicationDomain::SinkAccount>(Sink::Query()) |
86 | .then<void, QList<Sink::ApplicationDomain::SinkAccount::Ptr> >([this](const QList<Sink::ApplicationDomain::SinkAccount::Ptr> &accounts) { | 86 | .syncThen<void, QList<Sink::ApplicationDomain::SinkAccount::Ptr> >([this](const QList<Sink::ApplicationDomain::SinkAccount::Ptr> &accounts) { |
87 | for (const auto &account : accounts) { | 87 | for (const auto &account : accounts) { |
88 | mAccountNames.insert(account->identifier(), account->getProperty("name").toString()); | 88 | mAccountNames.insert(account->identifier(), account->getProperty("name").toString()); |
89 | mAccountIcons.insert(account->identifier(), account->getProperty("icon").toString()); | 89 | mAccountIcons.insert(account->identifier(), account->getProperty("icon").toString()); |