data: Save timestamp of project indexing and show it in overview

This commit is contained in:
Eberhard Graether
2017-05-09 23:47:34 +02:00
parent 3fdd24f038
commit 4b9c9858b7
5 changed files with 28 additions and 0 deletions
+3
View File
@@ -559,6 +559,7 @@ void PersistentStorage::optimizeMemory()
TRACE();
m_sqliteIndexStorage.setVersion();
m_sqliteIndexStorage.setTime();
m_sqliteIndexStorage.optimizeMemory();
m_sqliteBookmarkStorage.setVersion();
@@ -1411,6 +1412,8 @@ StorageStats PersistentStorage::getStorageStats() const
stats.completedFileCount = m_sqliteIndexStorage.getCompletedFileCount();
stats.fileLOCCount = m_sqliteIndexStorage.getFileLineSum();
stats.timestamp = m_sqliteIndexStorage.getTime();
return stats;
}