summaryrefslogtreecommitdiff
path: root/src/lib/buildgraph/buildgraphloader.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-08-26 11:52:07 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-08-26 13:21:51 +0200
commit7bdf164b78948efc72fa48c975587c354eebf154 (patch)
tree5df2c351438f956545747ed5a7c0cef61f799e50 /src/lib/buildgraph/buildgraphloader.cpp
parent9f2e842af96885b6d358d32340a212790cf5cfd5 (diff)
downloadqbs-7bdf164b78948efc72fa48c975587c354eebf154.tar.gz
fix tracking of added file tags
An added file tag was used to apply rules but it was not stored in the artifact. Change-Id: I0d4ce6b7b1372310fb1825bb2e2c47181e293079 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/lib/buildgraph/buildgraphloader.cpp')
-rw-r--r--src/lib/buildgraph/buildgraphloader.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/buildgraph/buildgraphloader.cpp b/src/lib/buildgraph/buildgraphloader.cpp
index e10aa92c8..da0506e91 100644
--- a/src/lib/buildgraph/buildgraphloader.cpp
+++ b/src/lib/buildgraph/buildgraphloader.cpp
@@ -487,8 +487,10 @@ void BuildGraphLoader::onProductFileListChanged(const ResolvedProductPtr &produc
QBS_CHECK(artifact);
// handle added filetags
- foreach (const FileTag &addedFileTag, changedArtifact->fileTags - a->fileTags)
+ foreach (const FileTag &addedFileTag, changedArtifact->fileTags - a->fileTags) {
+ artifact->fileTags += addedFileTag;
artifactsPerFileTag[addedFileTag] += artifact;
+ }
// handle removed filetags
foreach (const FileTag &removedFileTag, a->fileTags - changedArtifact->fileTags) {