diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-12 12:54:14 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-12 12:54:14 +0100 |
commit | 859f30d21532644c3b90e79f6686aa7375046087 (patch) | |
tree | d01790bfed07916ccada9193650f56127cb3e715 /accounts/maildir/maildircontroller.cpp | |
parent | 654092d41253ff993095b845a6c3e338a563547e (diff) | |
download | kube-859f30d21532644c3b90e79f6686aa7375046087.tar.gz kube-859f30d21532644c3b90e79f6686aa7375046087.zip |
syncThen is no longer necessary.
Diffstat (limited to 'accounts/maildir/maildircontroller.cpp')
-rw-r--r-- | accounts/maildir/maildircontroller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/maildir/maildircontroller.cpp b/accounts/maildir/maildircontroller.cpp index dc34d59a..fa211284 100644 --- a/accounts/maildir/maildircontroller.cpp +++ b/accounts/maildir/maildircontroller.cpp | |||
@@ -85,7 +85,7 @@ void MaildirController::loadAccount(const QByteArray &id) | |||
85 | { | 85 | { |
86 | Q_ASSERT(!mAccountIdentifier.isEmpty()); | 86 | Q_ASSERT(!mAccountIdentifier.isEmpty()); |
87 | Store::fetchOne<SinkAccount>(Query().filter(mAccountIdentifier)) | 87 | Store::fetchOne<SinkAccount>(Query().filter(mAccountIdentifier)) |
88 | .syncThen<void, SinkAccount>([this](const SinkAccount &account) { | 88 | .then([this](const SinkAccount &account) { |
89 | mIcon = account.getIcon(); | 89 | mIcon = account.getIcon(); |
90 | mName = account.getName(); | 90 | mName = account.getName(); |
91 | emit nameChanged(); | 91 | emit nameChanged(); |