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
@@ -69,6 +69,12 @@ void CodeController::handleMessage(MessageActivateAll* message)
ErrorCountInfo errorCount = m_storageAccess->getErrorCount();
ss << "\n";
if (stats.timestamp.isValid())
{
ss << "\tlast indexed: " + stats.timestamp.toString() + "\n";
ss << "\n";
}
ss << "\t" + std::to_string(stats.fileCount) + " files";
ss << (stats.completedFileCount != stats.fileCount ? " (" + std::to_string(stats.completedFileCount) + " complete)" : "") + "\n";
ss << "\t" + std::to_string(stats.fileLOCCount) + " lines of code\n";