summaryrefslogtreecommitdiffstats
path: root/common/synchronizer.cpp
diff options
context:
space:
mode:
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) {