ProjectExplorer: Pass extra project files as QSet

They are available in some cases as such, and consumed as such.

Change-Id: I9866c7d7bd817fb19a8b11a0efbe583ed55fe393
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-03-02 18:34:12 +01:00
parent 757628bf4a
commit b0b50257ec
14 changed files with 22 additions and 22 deletions

View File

@@ -263,9 +263,9 @@ void QmakeBuildSystem::updateCodeModels()
void QmakeBuildSystem::updateDocuments()
{
QVector<FilePath> projectDocuments;
QSet<FilePath> projectDocuments;
project()->rootProjectNode()->forEachProjectNode([&projectDocuments](const ProjectNode *n) {
projectDocuments << n->filePath();
projectDocuments.insert(n->filePath());
});
project()->setExtraProjectFiles(projectDocuments);
}