QbsProjectManager: Fix typo in toolchain setup code

This lead to weird behavior regarding compiler name and toolchain
prefix.

Task-number: QBS-1022
Change-Id: I10abfb22ee71aed6ec5ebc6b3eb477536c86f717
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
Christian Kandeler
2016-09-28 08:31:21 +02:00
parent d21d03cff0
commit b491a1c2c0

View File

@@ -242,7 +242,7 @@ QVariantMap DefaultPropertyProvider::autoGeneratedProperties(const ProjectExplor
QString cCompilerName = cFileInfo.fileName(); QString cCompilerName = cFileInfo.fileName();
QString cxxCompilerName = cxxFileInfo.fileName(); QString cxxCompilerName = cxxFileInfo.fileName();
const QString cToolchainPrefix = extractToolchainPrefix(&cCompilerName); const QString cToolchainPrefix = extractToolchainPrefix(&cCompilerName);
const QString cxxToolchainPrefix = extractToolchainPrefix(&cCompilerName); const QString cxxToolchainPrefix = extractToolchainPrefix(&cxxCompilerName);
QFileInfo mainFileInfo; QFileInfo mainFileInfo;
QString mainCompilerName; QString mainCompilerName;