forked from qt-creator/qt-creator
ToolChain: Make sure all ToolChains have a language set
* Add code to toolchains * Assert that this is the case in the toolchainmanager Change-Id: I82452689e83279fd9d1afb3140b0070bef9b6cd8 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -88,7 +88,9 @@ static const char messageCapKeyC[] = "ProjectExplorer.CustomToolChain.MessageCap
|
||||
CustomToolChain::CustomToolChain(Detection d) :
|
||||
ToolChain(Constants::CUSTOM_TOOLCHAIN_TYPEID, d),
|
||||
m_outputParser(Gcc)
|
||||
{ }
|
||||
{
|
||||
setLanguage(Language::Cxx);
|
||||
}
|
||||
|
||||
QString CustomToolChain::typeDisplayName() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user