diff options
-rw-r--r-- | examples/imapresource/imapresource.cpp | 4 | ||||
-rw-r--r-- | tests/accountstest.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index 605dbc2..94b4b27 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp | |||
@@ -366,8 +366,8 @@ public: | |||
366 | set.add(uid); | 366 | set.add(uid); |
367 | return login.then(imap->select(mailbox)) | 367 | return login.then(imap->select(mailbox)) |
368 | .then(imap->storeFlags(set, flags)) | 368 | .then(imap->storeFlags(set, flags)) |
369 | .then<void, qint64>([imap, mailbox](qint64 uid) { | 369 | .then<void>([imap, mailbox]() { |
370 | Trace() << "Finished modifying mail: " << uid; | 370 | Trace() << "Finished modifying mail"; |
371 | }) | 371 | }) |
372 | .then<QByteArray>([oldRemoteId, imap]() { | 372 | .then<QByteArray>([oldRemoteId, imap]() { |
373 | return oldRemoteId; | 373 | return oldRemoteId; |
diff --git a/tests/accountstest.cpp b/tests/accountstest.cpp index 5a63b31..be5e1a0 100644 --- a/tests/accountstest.cpp +++ b/tests/accountstest.cpp | |||
@@ -82,7 +82,7 @@ private slots: | |||
82 | 82 | ||
83 | Store::remove(resource).exec().waitForFinished(); | 83 | Store::remove(resource).exec().waitForFinished(); |
84 | 84 | ||
85 | Store::fetchAll<SinkResource>(Query()).then<void, QList<SinkResource>>([](const QList<SinkResource> &resources) { | 85 | Store::fetchAll<SinkResource>(Query()).then<void, QList<SinkResource::Ptr>>([](const QList<SinkResource::Ptr> &resources) { |
86 | QCOMPARE(resources.size(), 0); | 86 | QCOMPARE(resources.size(), 0); |
87 | }) | 87 | }) |
88 | .exec().waitForFinished(); | 88 | .exec().waitForFinished(); |