aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/api
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-01-14 16:34:55 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2014-01-14 17:05:17 +0100
commita9cd2b8c29054c6d5f3b90fc7ae5e047459db810 (patch)
treeacde53f48f29ba72265cf47734aa6a2fd9e3de2e /src/lib/corelib/api
parent1bd973e88639588de56b88835670915642481020 (diff)
rename Rule::script to prepareScript
Rule might get another script besides the prepare script. This will reduce the diff size for a future patch. Change-Id: I28755cc0bb30d429108b63c9e9db4cc4c93573b1 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/lib/corelib/api')
-rw-r--r--src/lib/corelib/api/project.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/api/project.cpp b/src/lib/corelib/api/project.cpp
index 6826884e6..b9e9b4583 100644
--- a/src/lib/corelib/api/project.cpp
+++ b/src/lib/corelib/api/project.cpp
@@ -554,7 +554,7 @@ void ProjectPrivate::updateInternalCodeLocations(const ResolvedProjectPtr &proje
foreach (const GroupPtr &group, product->groups)
updateLocationIfNecessary(group->location, changeLocation, lineOffset);
foreach (const RulePtr &rule, product->rules) {
- updateLocationIfNecessary(rule->script->location, changeLocation, lineOffset);
+ updateLocationIfNecessary(rule->prepareScript->location, changeLocation, lineOffset);
foreach (const RuleArtifactPtr &artifact, rule->artifacts) {
for (int i = 0; i < artifact->bindings.count(); ++i) {
updateLocationIfNecessary(artifact->bindings[i].location, changeLocation,