forked from qt-creator/qt-creator
ToolChain: Get rid of type() in favor of typeId()
Change-Id: I8fc68c266acb55a7c3e014697a7b526784914f7a Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -100,7 +100,8 @@ void IosConfigurations::updateAutomaticKitList()
|
||||
foreach (ToolChain *tc, ToolChainManager::toolChains()) {
|
||||
if (!tc->isAutoDetected()) // use also user toolchains?
|
||||
continue;
|
||||
if (tc->type() != QLatin1String("clang") && tc->type() != QLatin1String("gcc"))
|
||||
if (tc->typeId() != ProjectExplorer::Constants::CLANG_TOOLCHAIN_ID
|
||||
&& tc->typeId() != ProjectExplorer::Constants::GCC_TOOLCHAIN_ID)
|
||||
continue;
|
||||
GccToolChain *toolchain = static_cast<GccToolChain *>(tc);
|
||||
QMapIterator<QString, Platform> iter(platforms);
|
||||
|
||||
Reference in New Issue
Block a user