summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRaphael Cotty <raphael.cotty@gmail.com>2021-11-25 07:35:00 +0100
committerRaphaƫl Cotty <raphael.cotty@gmail.com>2021-11-30 16:14:35 +0000
commit276ddf9f87ee513440bbb72473b48b69eb0319a5 (patch)
tree8d155552ad03f5ee811ba065b5b5e90f12997798 /src
parentbb0fc3b6e2e0412ad49aecde9cd31f8b269e4856 (diff)
downloadqbs-276ddf9f87ee513440bbb72473b48b69eb0319a5.tar.gz
'product' variable points to 'importingProduct" in Export items
Following commits c2b7dd88e2f3ac5ebed99301ec8f847ffaedcb87 and eb7adb8d9787dddef89e46f7bf6e594d0b5faf4b, the "product" variable in an Export item now points to the 'importingProduct'. It used to point to the 'exportingProduct'. Fixes: QBS-1576 Change-Id: If122a981f14b54114afce20e72cc568b14681dba Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/lib/corelib/language/moduleloader.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/corelib/language/moduleloader.cpp b/src/lib/corelib/language/moduleloader.cpp
index 07f293691..de42752fc 100644
--- a/src/lib/corelib/language/moduleloader.cpp
+++ b/src/lib/corelib/language/moduleloader.cpp
@@ -3417,9 +3417,6 @@ void ModuleLoader::instantiateModule(ProductContext *productContext, Item *expor
const auto importingProductItemValue = ItemValue::create(productContext->item);
moduleScope->setProperty(QStringLiteral("importingProduct"), importingProductItemValue);
- // TODO: Remove in 1.21.
- moduleScope->setProperty(StringConstants::productVar(), exportingProductItemValue);
-
moduleScope->setProperty(StringConstants::projectVar(),
ItemValue::create(exportingProduct->parent()));