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 /framework/accounts/kolabnowcontroller.cpp | |
parent | 654092d41253ff993095b845a6c3e338a563547e (diff) | |
download | kube-859f30d21532644c3b90e79f6686aa7375046087.tar.gz kube-859f30d21532644c3b90e79f6686aa7375046087.zip |
syncThen is no longer necessary.
Diffstat (limited to 'framework/accounts/kolabnowcontroller.cpp')
-rw-r--r-- | framework/accounts/kolabnowcontroller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/accounts/kolabnowcontroller.cpp b/framework/accounts/kolabnowcontroller.cpp index 94ca2e01..5968dc26 100644 --- a/framework/accounts/kolabnowcontroller.cpp +++ b/framework/accounts/kolabnowcontroller.cpp | |||
@@ -80,7 +80,7 @@ void KolabNowController::load(const QByteArray &id) { | |||
80 | m_accountId = id; | 80 | m_accountId = id; |
81 | 81 | ||
82 | Store::fetchOne<SinkAccount>(Query().filter(m_accountId)) | 82 | Store::fetchOne<SinkAccount>(Query().filter(m_accountId)) |
83 | .syncThen<void, SinkAccount>([this](const SinkAccount &account) { | 83 | .then([this](const SinkAccount &account) { |
84 | setName(account.getName()); | 84 | setName(account.getName()); |
85 | }).exec(); | 85 | }).exec(); |
86 | 86 | ||