diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-12-22 10:18:52 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-12-23 07:17:33 +0000 |
commit | ffca2303fee02c52415aa01cf8ea658c06649ebc (patch) | |
tree | 88c0c87444e3f4bdf6a5374eb6504019fcb0a7ba /src/lib/corelib/language/moduleloader.h | |
parent | 7862e87dc3ed3f7e2e6c8de936d6e15e914a02a4 (diff) |
Fix scopes of dependency parameters
Only the values in Depends items of products had a scope, and that one
did not allow to access module instances.
Now the scope always is the surrounding item, which should be a sensible
one in all contexts.
Task-number: QBS-1253
Change-Id: Iedca2d98f82f71887373579f8e4dc91f057eded3
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/lib/corelib/language/moduleloader.h')
-rw-r--r-- | src/lib/corelib/language/moduleloader.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/corelib/language/moduleloader.h b/src/lib/corelib/language/moduleloader.h index aa4fe917f..333c2f7dd 100644 --- a/src/lib/corelib/language/moduleloader.h +++ b/src/lib/corelib/language/moduleloader.h @@ -303,7 +303,6 @@ private: static QString findExistingModulePath(const QString &searchPath, const QualifiedId &moduleName); static void setScopeForDescendants(Item *item, Item *scope); - static void forwardScopeToItemValues(Item *item, Item *scope); void overrideItemProperties(Item *item, const QString &buildConfigKey, const QVariantMap &buildConfig); void addProductModuleDependencies(ProductContext *ctx, const Item::Module &module); |