diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-12 18:57:07 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-12 18:57:07 +0200 |
commit | 256fe3fc561f1690e5c29640b9081e805ceb5532 (patch) | |
tree | 5bf46688b732b534eb30cec9620393f8c6eb487f /common/synchronizer.h | |
parent | 58b9fa88198eecc224597e52d8bbd7f833fca63b (diff) | |
download | sink-256fe3fc561f1690e5c29640b9081e805ceb5532.tar.gz sink-256fe3fc561f1690e5c29640b9081e805ceb5532.zip |
Don't commit after every replayed revision
If we didn't actually do anything we just carry on.
Failing to commit is harmless in that case and committing for every
revision is rather expensive.
Diffstat (limited to 'common/synchronizer.h')
-rw-r--r-- | common/synchronizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/synchronizer.h b/common/synchronizer.h index bb24c2b..935c139 100644 --- a/common/synchronizer.h +++ b/common/synchronizer.h | |||
@@ -197,7 +197,7 @@ protected: | |||
197 | /** | 197 | /** |
198 | * Report progress for current task | 198 | * Report progress for current task |
199 | */ | 199 | */ |
200 | void reportProgress(int progress, int total); | 200 | virtual void reportProgress(int progress, int total) Q_DECL_OVERRIDE; |
201 | 201 | ||
202 | protected: | 202 | protected: |
203 | Sink::Log::Context mLogCtx; | 203 | Sink::Log::Context mLogCtx; |