summaryrefslogtreecommitdiffstats
path: root/framework/accounts/gmailcontroller.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-12 12:54:14 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-12 12:54:14 +0100
commit859f30d21532644c3b90e79f6686aa7375046087 (patch)
treed01790bfed07916ccada9193650f56127cb3e715 /framework/accounts/gmailcontroller.cpp
parent654092d41253ff993095b845a6c3e338a563547e (diff)
downloadkube-859f30d21532644c3b90e79f6686aa7375046087.tar.gz
kube-859f30d21532644c3b90e79f6686aa7375046087.zip
syncThen is no longer necessary.
Diffstat (limited to 'framework/accounts/gmailcontroller.cpp')
-rw-r--r--framework/accounts/gmailcontroller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/accounts/gmailcontroller.cpp b/framework/accounts/gmailcontroller.cpp
index bc644ae9..89877117 100644
--- a/framework/accounts/gmailcontroller.cpp
+++ b/framework/accounts/gmailcontroller.cpp
@@ -80,7 +80,7 @@ void GmailController::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