diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-05-23 13:17:23 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-05-24 11:08:19 +0000 |
commit | 57fd0ab336f0d88c007e4d7f5d09230d9a9e460b (patch) | |
tree | 8cd4e812e9779b1af7c19b8c7fb18e6e6a8b53d9 /src/lib/corelib/language/artifactproperties.cpp | |
parent | b9c2e80bd1dd6a336139aff32248100b61e34404 (diff) |
Apply all groups with the same file tag filter
... rather than considering only the last one.
It is a valid use case to add more properties and/or file tags
in derived items.
Change-Id: I9ebc95a3f485c16c3cc7e21723645ab87c9c1693
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/corelib/language/artifactproperties.cpp')
-rw-r--r-- | src/lib/corelib/language/artifactproperties.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/corelib/language/artifactproperties.cpp b/src/lib/corelib/language/artifactproperties.cpp index 4897c6cff..dd61bf1a2 100644 --- a/src/lib/corelib/language/artifactproperties.cpp +++ b/src/lib/corelib/language/artifactproperties.cpp @@ -57,9 +57,9 @@ FileTags ArtifactProperties::extraFileTags() const return m_extraFileTags; } -void ArtifactProperties::setExtraFileTags(const FileTags &extraFileTags) +void ArtifactProperties::addExtraFileTags(const FileTags &extraFileTags) { - m_extraFileTags = extraFileTags; + m_extraFileTags.unite(extraFileTags); } bool operator==(const ArtifactProperties &ap1, const ArtifactProperties &ap2) |