diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-11-12 17:13:57 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-11-13 08:40:20 +0000 |
commit | 332b358db520203fd0a556ebbc096d690cf4c627 (patch) | |
tree | af3e596be22794a65f497fb597495f1f62022c39 | |
parent | 15b176e30c0a3a6e6effe0043a5133241caa9d2f (diff) | |
download | qt-creator-332b358db520203fd0a556ebbc096d690cf4c627.tar.gz |
QbsProjectManager: Prevent localized configuration names
The configuration name determines the build directory name, so make sure
we're not using translated strings there.
Fixes: QTCREATORBUG-21466
Change-Id: I9c1996f8fb532fbf26ec44db09ee157ca3c94844
Reviewed-by: hjk <hjk@qt.io>
-rw-r--r-- | src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp b/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp index 1fcaec1f44..e7874737d8 100644 --- a/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp +++ b/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp @@ -410,6 +410,7 @@ BuildInfo *QbsBuildConfigurationFactory::createBuildInfo(const Kit *k, info->typeName = tr("Build"); info->kitId = k->id(); info->buildType = type; + info->config.insert("configName", type == BuildConfiguration::Debug ? "Debug" : "Release"); return info; } |