diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-28 16:40:26 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-28 16:40:26 +0200 |
commit | d4ba5071da8076914b99e6a3cc32c9042b3730bc (patch) | |
tree | 0978efa2ae975cf6b6e9e58a6692ab4093cb9af3 /common/synchronizer.cpp | |
parent | 9c37e308015f31ec778a39b31902e725cd9b76a8 (diff) | |
download | sink-d4ba5071da8076914b99e6a3cc32c9042b3730bc.tar.gz sink-d4ba5071da8076914b99e6a3cc32c9042b3730bc.zip |
Cleanup
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) { |