diff options
Diffstat (limited to 'framework/accounts/gmailcontroller.cpp')
-rw-r--r-- | framework/accounts/gmailcontroller.cpp | 2 |
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 | ||