ParseProjectJob: don't skip parsing the last few files
ParseProjectJob::queueFilesToParse() removes the currently open documents that belong to the project from d->filesToParse. Therefore, when ParseProjectJob::updateReady() is invoked, the actual number of files to parse can be greater than d->filesToParse.size(). ParseProjectJob reverts all its requests in the destructor, so the few unaccounted-for closed documents could remain unparsed.
Showing with 6 additions and 3 deletions