Adapt to rename of ProjectExplorer constants

QtC change: https://codereview.qt-project.org/#/c/120930/

Change-Id: I5af573d58f13dfc50e9dd003cb652d785e8c8347
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-07-07 15:37:10 +02:00
parent 7bdf007c86
commit 7332cf28ff
3 changed files with 9 additions and 9 deletions

View File

@@ -43,7 +43,7 @@ namespace Internal {
QString clangExecutableFromSettings(Core::Id toolchainType, bool *isValid)
{
QString exeFromSettings = ClangStaticAnalyzerSettings::instance()->clangExecutable();
if (toolchainType == ProjectExplorer::Constants::MSVC_TOOLCHAIN_ID)
if (toolchainType == ProjectExplorer::Constants::MSVC_TOOLCHAIN_TYPEID)
exeFromSettings.replace(QLatin1String("clang.exe"), QLatin1String("clang-cl.exe"));
return clangExecutable(exeFromSettings, isValid);
}