Commit 6815633d authored by Tobias Hunger's avatar Tobias Hunger Committed by hjk
Browse files

Qbs: Fix build after update to ProjectNodes



Change-Id: Ibb736901596a7295f50059f5dd448a2b5da32e85
Reviewed-by: default avatarhjk <hjk@qt.io>
parent 9804d560
...@@ -63,7 +63,7 @@ void setupArtifacts(ProjectExplorer::FolderNode *root, const QList<qbs::Artifact ...@@ -63,7 +63,7 @@ void setupArtifacts(ProjectExplorer::FolderNode *root, const QList<qbs::Artifact
return new ProjectExplorer::FileNode(path, type, isGenerated); return new ProjectExplorer::FileNode(path, type, isGenerated);
}); });
root->buildTree(fileNodes); root->addNestedNodes(fileNodes);
root->compress(); root->compress();
} }
...@@ -197,7 +197,7 @@ QbsRootProjectNode *QbsNodeTreeBuilder::buildTree(QbsProject *project) ...@@ -197,7 +197,7 @@ QbsRootProjectNode *QbsNodeTreeBuilder::buildTree(QbsProject *project)
if (filePath.isChildOf(base)) if (filePath.isChildOf(base))
projectBuildSystemFiles.append(new ProjectExplorer::FileNode(filePath, ProjectExplorer::FileType::Project, false)); projectBuildSystemFiles.append(new ProjectExplorer::FileNode(filePath, ProjectExplorer::FileType::Project, false));
} }
buildSystemFiles->buildTree(projectBuildSystemFiles); buildSystemFiles->addNestedNodes(projectBuildSystemFiles);
buildSystemFiles->compress(); buildSystemFiles->compress();
root->addNode(buildSystemFiles); root->addNode(buildSystemFiles);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment