diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/imapresource/imapresource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index bfe43bf..29ff03b 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp | |||
@@ -680,7 +680,7 @@ public: | |||
680 | if (error) { | 680 | if (error) { |
681 | SinkWarning() << "Error during changereplay: " << error.errorMessage; | 681 | SinkWarning() << "Error during changereplay: " << error.errorMessage; |
682 | return imap->logout() | 682 | return imap->logout() |
683 | .then(KAsync::error<QByteArray>(error)); | 683 | .then(KAsync::error<QByteArray>(getError(error))); |
684 | } | 684 | } |
685 | return imap->logout() | 685 | return imap->logout() |
686 | .then(KAsync::value(remoteId)); | 686 | .then(KAsync::value(remoteId)); |