forked from qt-creator/qt-creator
A - (A - (B + 1)) = B + 1
Change-Id: I6ce320c0fd3958c1fef98b322bec8dbded2232cf Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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());
|
||||||
|
Reference in New Issue
Block a user