data: explicitly clear all errors when refreshing incomplete files

This commit is contained in:
Eberhard Graether
2018-06-11 15:55:23 +02:00
parent 1a37a9af34
commit 1c9b4c1afd
7 changed files with 29 additions and 4 deletions
+3 -1
View File
@@ -16,7 +16,8 @@ class TaskCleanStorage
public:
TaskCleanStorage(
PersistentStorage* storage,
const std::vector<FilePath>& filePaths
const std::vector<FilePath>& filePaths,
bool clearAllErrors
);
private:
@@ -27,6 +28,7 @@ private:
PersistentStorage* m_storage;
std::vector<FilePath> m_filePaths;
bool m_clearAllErrors;
TimeStamp m_start;
};