aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/evaluator.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-01-19 11:57:40 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-01-20 12:06:01 +0100
commit0d477159e67ef4e0dd665b8c5ba8850b11145afe (patch)
treeb9d1163c7d63b46378011d1bc67b91dda94e9ced /src/lib/corelib/language/evaluator.h
parent1df130f1f1a1ae6b7d3782c1b5208c13d6274977 (diff)
fix product variable in Export items
Consider a module M that's exported by Product B. Product A depends on product B and thus depends on M. This patch fixes the product variable in M that was referring to the exporting product B, not the importing product A. Task-number: QBS-729 Change-Id: Ia30b7159aa5d5ec37fe6257300e6c16205141f86 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/language/evaluator.h')
-rw-r--r--src/lib/corelib/language/evaluator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/corelib/language/evaluator.h b/src/lib/corelib/language/evaluator.h
index ec844af92..b1a598dce 100644
--- a/src/lib/corelib/language/evaluator.h
+++ b/src/lib/corelib/language/evaluator.h
@@ -66,6 +66,8 @@ public:
QScriptValue scriptValue(const Item *item);
QScriptValue fileScope(const FileContextConstPtr &file);
+ void setCachingEnabled(bool enabled);
+
private:
void onItemPropertyChanged(Item *item);
void onItemDestroyed(Item *item);