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:
@@ -62,6 +62,13 @@ QnxToolChain::QnxToolChain(ToolChain::Detection d)
|
||||
: GccToolChain(Constants::QNX_TOOLCHAIN_ID, d)
|
||||
{ }
|
||||
|
||||
QnxToolChain::QnxToolChain(Language l, ToolChain::Detection d)
|
||||
: QnxToolChain(d)
|
||||
{
|
||||
setLanguage(l);
|
||||
}
|
||||
|
||||
|
||||
QString QnxToolChain::typeDisplayName() const
|
||||
{
|
||||
return QnxToolChainFactory::tr("QCC");
|
||||
|
||||
Reference in New Issue
Block a user