aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/api/runenvironment.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2016-12-23 13:49:41 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2016-12-23 15:50:39 +0000
commitd518178df885d2c58bf2ff5a1f45f1af8fd04ae4 (patch)
tree8b9eeb427fdfce106837a77dc000f29b528d2914 /src/lib/corelib/api/runenvironment.cpp
parentd25dc92af34d994e4f58f1a3edae7d5b856b49ff (diff)
Add PropertyMapInternal::moduleProperty
Add a new convenience method PropertyMapInternal::moduleProperty to access module properties without invoking the PropertyFinder and use it where applicable. Change-Id: Ie573c71516b25ed3159d6c86769baa6b058c0956 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/api/runenvironment.cpp')
-rw-r--r--src/lib/corelib/api/runenvironment.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/corelib/api/runenvironment.cpp b/src/lib/corelib/api/runenvironment.cpp
index fc9525a82..3316f9fab 100644
--- a/src/lib/corelib/api/runenvironment.cpp
+++ b/src/lib/corelib/api/runenvironment.cpp
@@ -241,8 +241,7 @@ int RunEnvironment::doRunTarget(const QString &targetBin, const QStringList &arg
bundlePath += QLatin1Char('/') + installDir;
}
- const QString bundleName = PropertyFinder().propertyValue(
- d->resolvedProduct->moduleProperties->value(),
+ const QString bundleName = d->resolvedProduct->moduleProperties->moduleProperty(
QLatin1String("bundle"),
QLatin1String("bundleName")).toString();
bundlePath += QLatin1Char('/') + bundleName;