summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/imapresource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/imapresource/imapresource.cpp')
-rw-r--r--examples/imapresource/imapresource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp
index b5d224c..30ccf95 100644
--- a/examples/imapresource/imapresource.cpp
+++ b/examples/imapresource/imapresource.cpp
@@ -329,12 +329,12 @@ public:
329 uids << msg.uid; 329 uids << msg.uid;
330 } 330 }
331 synchronizeMails(folder.normalizedPath(), messages); 331 synchronizeMails(folder.normalizedPath(), messages);
332 commit();
333 }).exec(); 332 }).exec();
334 messagesFuture.waitForFinished(); 333 messagesFuture.waitForFinished();
334 commit();
335 if (messagesFuture.errorCode()) { 335 if (messagesFuture.errorCode()) {
336 future.setError(1, "Folder sync failed: " + folder.normalizedPath()); 336 Warning() << "Folder sync failed: " << folder.normalizedPath();
337 return; 337 continue;
338 } 338 }
339 //Remove what there is to remove 339 //Remove what there is to remove
340 synchronizeRemovals(folder.normalizedPath(), uids); 340 synchronizeRemovals(folder.normalizedPath(), uids);