diff options
Diffstat (limited to 'common/synchronizer.cpp')
-rw-r--r-- | common/synchronizer.cpp | 5 |
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 | ||
306 | void Synchronizer::reportProgress(int progress, int total) | ||
307 | { | ||
308 | SinkLogCtx(mLogCtx) << "Progress: " << progress << " out of " << total; | ||
309 | } | ||
310 | |||
306 | KAsync::Job<void> Synchronizer::processRequest(const SyncRequest &request) | 311 | KAsync::Job<void> Synchronizer::processRequest(const SyncRequest &request) |
307 | { | 312 | { |
308 | if (request.options & SyncRequest::RequestFlush) { | 313 | if (request.options & SyncRequest::RequestFlush) { |