A - (A - (B + 1)) = B + 1

Change-Id: I6ce320c0fd3958c1fef98b322bec8dbded2232cf
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2020-12-18 08:09:42 +01:00
parent be67b1ab54
commit c732014821

View File

@@ -170,7 +170,7 @@ void indexFindErrors(QFutureInterface<void> &indexingFuture,
document->releaseSourceAndAST(); document->releaseSourceAndAST();
indexingFuture.setProgressValue(files.size() - (files.size() - (i + 1))); indexingFuture.setProgressValue(i + 1);
} }
const QString elapsedTime = Utils::formatElapsedTime(timer.elapsed()); const QString elapsedTime = Utils::formatElapsedTime(timer.elapsed());