Commit 4196e9c2 authored by Tobias Hunger's avatar Tobias Hunger

Qbs: Fix subproject nodes not getting the right path

Change-Id: I31db9d3f969d8e634cb5c84b1f3563c09e13cfd7
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent 868f32dd
......@@ -604,7 +604,7 @@ void QbsProjectNode::update(const qbs::ProjectData &prjData)
foreach (const qbs::ProjectData &subData, prjData.subProjects()) {
QbsProjectNode *qn = findProjectNode(subData.name());
if (!qn) {
QbsProjectNode *subProject = new QbsProjectNode(prjData.location().fileName());
QbsProjectNode *subProject = new QbsProjectNode(subData.location().fileName());
subProject->update(subData);
toAdd << subProject;
} else {
......
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