Document::~Document() { m_scene_model->removeAllScenes(); clearIndex(); emit removeCacheFile(g_cache_path + m_cache_filename); }
void CacheManager::removeCacheFile(const File& file, const std::string& information) { removeCacheFile(file.filename(), information); }
void CacheManager::removeCacheFile(const File& file) { std::string lastModifiedTime = file.lastModifiedDate(); removeCacheFile(file, lastModifiedTime); }
Document::~Document() { clearIndex(); emit removeCacheFile(g_cache_path + m_cache_filename); }