src: remove unused stuff

* PersistenStorage::removeUnusedNames
* Dictionary
* DictionaryTestSuite
This commit is contained in:
Eberhard Graether
2016-05-30 14:23:50 +02:00
parent 71cf6bb5f4
commit 5bb6902cdf
8 changed files with 1 additions and 232 deletions
-7
View File
@@ -304,13 +304,6 @@ void PersistentStorage::clearFileElements(const std::vector<FilePath>& filePaths
}
}
void PersistentStorage::removeUnusedNames() // maybe rename this function. look for callers first.
{
// m_sqliteStorage.removeUnusedNameHierarchyElements();
clearCaches();
}
std::vector<FileInfo> PersistentStorage::getInfoOnAllFiles() const
{
std::vector<FileInfo> fileInfos;
-1
View File
@@ -61,7 +61,6 @@ public:
std::set<FilePath> getDependingFilePaths(const FilePath& filePath);
void clearFileElements(const std::vector<FilePath>& filePaths);
void removeUnusedNames();
std::vector<FileInfo> getInfoOnAllFiles() const;
+1 -1
View File
@@ -34,7 +34,7 @@ Task::TaskState TaskCleanStorage::update()
if (m_fileCount)
{
MessageStatus("Cleaning up names (ESC to quit)", false, true).dispatch();
m_storage->removeUnusedNames();
m_storage->clearCaches();
}
return Task::STATE_FINISHED;