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
@@ -328,6 +328,13 @@ std::set<FilePath> PersistentStorage::getReferencing(const std::set<FilePath>& f
return referencing;
}
void PersistentStorage::clearAllErrors()
{
TRACE();
m_sqliteIndexStorage.removeAllErrors();
}
void PersistentStorage::clearFileElements(const std::vector<FilePath>& filePaths, std::function<void(int)> updateStatusCallback)
{
TRACE();