QmlJS: Don't parse files we cannot open

This rids us of the "Issues" about various wizard files when opening
qtcreator.pro

Change-Id: Ib49e87ded791bcc9155e65a77cac523c1f67de56
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
Ulf Hermann
2017-12-06 16:01:52 +01:00
parent a2739f55ed
commit d81c6c7403

View File

@@ -888,6 +888,8 @@ void ModelManagerInterface::parseLoop(QSet<QString> &scannedPaths,
QTextStream ins(&inFile);
contents = ins.readAll();
inFile.close();
} else {
continue;
}
}