From ffca2303fee02c52415aa01cf8ea658c06649ebc Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 22 Dec 2017 10:18:52 +0100 Subject: 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 --- src/lib/corelib/language/moduleloader.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib/corelib/language/moduleloader.h') 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); -- cgit v1.2.3