summaryrefslogtreecommitdiff
path: root/src/lib/buildgraph/transformer.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2012-10-23 18:24:59 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2012-10-29 14:58:46 +0100
commit92f64152b4d1e756d072ce434c4d4da8cb91f140 (patch)
tree2b3e2c151e30606d084eb17407c0d25065a38d92 /src/lib/buildgraph/transformer.cpp
parentd0e2b2fa077a05a2f9b9a7f231e83e576d7ba90f (diff)
downloadqbs-92f64152b4d1e756d072ce434c4d4da8cb91f140.tar.gz
Document some classes.
Along the way, rename some things to help understand them: - Configuration -> PropertyMap - Rule::fileScript -> Rule::fileName Change-Id: Ibff62526fe8e0be92b23456c942665ebb7db10dc Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/lib/buildgraph/transformer.cpp')
-rw-r--r--src/lib/buildgraph/transformer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/buildgraph/transformer.cpp b/src/lib/buildgraph/transformer.cpp
index 4b64ee60d..759d9dbca 100644
--- a/src/lib/buildgraph/transformer.cpp
+++ b/src/lib/buildgraph/transformer.cpp
@@ -44,7 +44,7 @@ Transformer::~Transformer()
QScriptValue Transformer::translateFileConfig(QScriptEngine *scriptEngine, Artifact *artifact, const QString &defaultModuleName)
{
- QScriptValue config = artifact->configuration->toScriptValue(scriptEngine);
+ QScriptValue config = artifact->properties->toScriptValue(scriptEngine);
QScriptValue artifactConfig = scriptEngine->newObject();
artifactConfig.setPrototype(config);
artifactConfig.setProperty(QLatin1String("fileName"), artifact->filePath());