summaryrefslogtreecommitdiff
path: root/src/lib/buildgraph/rulesapplicator.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-08-01 17:43:40 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-08-02 10:43:22 +0200
commit7893c2b986c8f767e2cc747e98efcc6b48aec05f (patch)
treebcebc06bdbf45d441d7e21c9171e643d2e04013f /src/lib/buildgraph/rulesapplicator.cpp
parentc0e44c33033366b33fa9429972ed76262ec0dcbd (diff)
downloadqbs-7893c2b986c8f767e2cc747e98efcc6b48aec05f.tar.gz
remove Artifact::topLevelProject
Every artifact has a product now. That product points to its top level project. Artifact::topLevelProject can go. Change-Id: I7a7ec921043b64eec6c704128ae465fd9ef05031 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/lib/buildgraph/rulesapplicator.cpp')
-rw-r--r--src/lib/buildgraph/rulesapplicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/buildgraph/rulesapplicator.cpp b/src/lib/buildgraph/rulesapplicator.cpp
index 3fd4fb7dc..5d3db92cb 100644
--- a/src/lib/buildgraph/rulesapplicator.cpp
+++ b/src/lib/buildgraph/rulesapplicator.cpp
@@ -259,7 +259,7 @@ Artifact *RulesApplicator::createOutputArtifact(const RuleArtifactConstPtr &rule
}
outputArtifact->fileTags += ruleArtifact->fileTags;
} else {
- outputArtifact = new Artifact(m_product->topLevelProject());
+ outputArtifact = new Artifact;
outputArtifact->artifactType = Artifact::Generated;
outputArtifact->setFilePath(outputPath);
outputArtifact->fileTags = ruleArtifact->fileTags;