diff options
Diffstat (limited to 'framework/domain/settings/accountsettings.cpp')
-rw-r--r-- | framework/domain/settings/accountsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/domain/settings/accountsettings.cpp b/framework/domain/settings/accountsettings.cpp index d072ea9d..d1019e1f 100644 --- a/framework/domain/settings/accountsettings.cpp +++ b/framework/domain/settings/accountsettings.cpp | |||
@@ -178,7 +178,7 @@ void AccountSettings::saveAccount() | |||
178 | void AccountSettings::loadAccount() | 178 | void AccountSettings::loadAccount() |
179 | { | 179 | { |
180 | Q_ASSERT(!mAccountIdentifier.isEmpty()); | 180 | Q_ASSERT(!mAccountIdentifier.isEmpty()); |
181 | Store::fetchOne<SinkAccount>(Query().filter(mAccountIdentifier)) | 181 | Store::fetchOne<SinkAccount>(Query().filter(mAccountIdentifier).request<SinkAccount::Icon>().request<SinkAccount::Name>().request<SinkAccount::AccountType>()) |
182 | .then([this](const SinkAccount &account) { | 182 | .then([this](const SinkAccount &account) { |
183 | mAccountType = account.getAccountType().toLatin1(); | 183 | mAccountType = account.getAccountType().toLatin1(); |
184 | mIcon = account.getIcon(); | 184 | mIcon = account.getIcon(); |