summaryrefslogtreecommitdiffstats
path: root/common/synchronizer.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-28 16:40:26 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-28 16:40:26 +0200
commitd4ba5071da8076914b99e6a3cc32c9042b3730bc (patch)
tree0978efa2ae975cf6b6e9e58a6692ab4093cb9af3 /common/synchronizer.cpp
parent9c37e308015f31ec778a39b31902e725cd9b76a8 (diff)
downloadsink-d4ba5071da8076914b99e6a3cc32c9042b3730bc.tar.gz
sink-d4ba5071da8076914b99e6a3cc32c9042b3730bc.zip
Cleanup
Diffstat (limited to 'common/synchronizer.cpp')
-rw-r--r--common/synchronizer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/synchronizer.cpp b/common/synchronizer.cpp
index d3de20b..e004d64 100644
--- a/common/synchronizer.cpp
+++ b/common/synchronizer.cpp
@@ -303,6 +303,11 @@ void Synchronizer::emitNotification(Notification::NoticationType type, int code,
303 emit notify(n); 303 emit notify(n);
304} 304}
305 305
306void Synchronizer::reportProgress(int progress, int total)
307{
308 SinkLogCtx(mLogCtx) << "Progress: " << progress << " out of " << total;
309}
310
306KAsync::Job<void> Synchronizer::processRequest(const SyncRequest &request) 311KAsync::Job<void> Synchronizer::processRequest(const SyncRequest &request)
307{ 312{
308 if (request.options & SyncRequest::RequestFlush) { 313 if (request.options & SyncRequest::RequestFlush) {