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 33cc191c..49c08005 100644 --- a/framework/domain/identitiesmodel.cpp +++ b/framework/domain/identitiesmodel.cpp | |||
@@ -88,7 +88,7 @@ void IdentitiesModel::runQuery(const Sink::Query &query) | |||
88 | setSourceModel(mModel.data()); | 88 | setSourceModel(mModel.data()); |
89 | 89 | ||
90 | Sink::Store::fetchAll<Sink::ApplicationDomain::SinkAccount>(Sink::Query()) | 90 | Sink::Store::fetchAll<Sink::ApplicationDomain::SinkAccount>(Sink::Query()) |
91 | .syncThen<void, QList<Sink::ApplicationDomain::SinkAccount::Ptr> >([this](const QList<Sink::ApplicationDomain::SinkAccount::Ptr> &accounts) { | 91 | .then([this](const QList<Sink::ApplicationDomain::SinkAccount::Ptr> &accounts) { |
92 | for (const auto &account : accounts) { | 92 | for (const auto &account : accounts) { |
93 | mAccountNames.insert(account->identifier(), account->getName()); | 93 | mAccountNames.insert(account->identifier(), account->getName()); |
94 | mAccountIcons.insert(account->identifier(), account->getIcon()); | 94 | mAccountIcons.insert(account->identifier(), account->getIcon()); |