Loading of the recommendation engine now controlled by scanner. Bonus: better control/reporting

This commit is contained in:
emeric
2020-10-28 17:40:15 +01:00
parent c9d138a96b
commit 438e99f5c2
31 changed files with 454 additions and 469 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ ScanStats::nbChanges() const
unsigned
ScanStepStats::progress() const
{
return (processedFiles / static_cast<float>(filesToProcess ? filesToProcess : 1)) * 100;
return (processedElems / static_cast<float>(totalElems ? totalElems : 1)) * 100;
}
} // namespace Scanner