aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/depscanner.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-07-31 14:47:56 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-07-31 17:37:43 +0200
commit1eef55e98f7dddf0aacbf43f369d7bd11b06745e (patch)
treee25acef27ab1d5915dd237eb0b9ca263a4945539 /src/lib/corelib/buildgraph/depscanner.cpp
parent3b4f5d6acae1338e8f188d02b6348b0c20727a16 (diff)
add getter/setters for Artifact::fileTags
The setters take care of keeping the product's artifact-by-filetags hash up to date. Before, one had to set up the artifact's file tags before insertArtifactToProduct was called. Otherwise the hash didn't get updated. Change-Id: Ibb530d2c992d72c0a99152009b4e6eecbf770098 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/depscanner.cpp')
-rw-r--r--src/lib/corelib/buildgraph/depscanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/depscanner.cpp b/src/lib/corelib/buildgraph/depscanner.cpp
index 0deaae37a..5aa3c8676 100644
--- a/src/lib/corelib/buildgraph/depscanner.cpp
+++ b/src/lib/corelib/buildgraph/depscanner.cpp
@@ -178,7 +178,7 @@ QStringList UserDependencyScanner::evaluate(Artifact *artifact, const ScriptFunc
QScriptValue artifactConfig = m_engine->newObject();
ModuleProperties::init(artifactConfig, artifact);
artifactConfig.setProperty(QLatin1String("fileName"), artifact->filePath(), 0);
- const QStringList fileTags = artifact->fileTags.toStringList();
+ const QStringList fileTags = artifact->fileTags().toStringList();
artifactConfig.setProperty(QLatin1String("fileTags"), m_engine->toScriptValue(fileTags));
if (!m_scanner->module->name.isEmpty())
artifactConfig.setProperty(QLatin1String("moduleName"), m_scanner->module->name);