forked from qt-creator/qt-creator
ProjectExplorer: Use data member for ToolChain::typeDisplayName
Change-Id: Ia78ea3f8628b759706c5b024d687d917b203ec4d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -49,19 +49,7 @@ NimToolChain::NimToolChain(Core::Id typeId)
|
||||
, m_version(std::make_tuple(-1,-1,-1))
|
||||
{
|
||||
setLanguage(Constants::C_NIMLANGUAGE_ID);
|
||||
}
|
||||
|
||||
NimToolChain::NimToolChain(const NimToolChain &other)
|
||||
: ToolChain(other.typeId())
|
||||
, m_compilerCommand(other.m_compilerCommand)
|
||||
, m_version(other.m_version)
|
||||
{
|
||||
setLanguage(Constants::C_NIMLANGUAGE_ID);
|
||||
}
|
||||
|
||||
QString NimToolChain::typeDisplayName() const
|
||||
{
|
||||
return NimToolChainFactory::tr("Nim");
|
||||
setTypeDisplayName(NimToolChainFactory::tr("Nim"));
|
||||
}
|
||||
|
||||
Abi NimToolChain::targetAbi() const
|
||||
|
||||
Reference in New Issue
Block a user