forked from qt-creator/qt-creator
ProjectExplorer: Make custom toolchains C/C++ only
That's what they were intended for. There appears to be no use case for them to represent e.g. a nim compiler. Change-Id: I8070fb837fe411c3e2b6e5a335e642497437896d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -659,7 +659,7 @@ Toolchain *ToolchainFactory::createToolchain(Id toolchainType)
|
||||
|
||||
QList<Id> ToolchainFactory::supportedLanguages() const
|
||||
{
|
||||
return m_supportsAllLanguages ? ToolchainManager::allLanguages() : m_supportedLanguages;
|
||||
return m_supportedLanguages;
|
||||
}
|
||||
|
||||
Id ToolchainFactory::supportedToolchainType() const
|
||||
@@ -683,11 +683,6 @@ void ToolchainFactory::setSupportedLanguages(const QList<Id> &supportedLanguages
|
||||
m_supportedLanguages = supportedLanguages;
|
||||
}
|
||||
|
||||
void ToolchainFactory::setSupportsAllLanguages(bool supportsAllLanguages)
|
||||
{
|
||||
m_supportsAllLanguages = supportsAllLanguages;
|
||||
}
|
||||
|
||||
void ToolchainFactory::setToolchainConstructor(const ToolchainConstructor &toolchainContructor)
|
||||
{
|
||||
m_toolchainConstructor = toolchainContructor;
|
||||
|
||||
Reference in New Issue
Block a user