src: remove unused stuff
* PersistenStorage::removeUnusedNames * Dictionary * DictionaryTestSuite
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user