data: fixed file clearing to clear only elements with no more source_locations

This commit is contained in:
Eberhard Graether
2015-10-12 11:42:19 +02:00
parent 29afd80673
commit 27bf5108ab
6 changed files with 35 additions and 18 deletions
+2 -2
View File
@@ -156,12 +156,12 @@ void Storage::finishParsing()
buildHierarchyCache();
}
void Storage::prepareParsingFile()
void Storage::prepareParsingFile(const FilePath& filePath)
{
m_sqliteStorage.beginTransaction();
}
void Storage::finishParsingFile()
void Storage::finishParsingFile(const FilePath& filePath)
{
m_sqliteStorage.commitTransaction();
}