Add "Clone of" to displayname when cloning toolchains

This commit is contained in:
Tobias Hunger
2011-03-03 16:46:51 +01:00
parent c3f018b0a2
commit bbf464fd21

View File

@@ -74,7 +74,8 @@ ToolChain::ToolChain(const ToolChain &other) :
m_d(new Internal::ToolChainPrivate(other.id(), false)) m_d(new Internal::ToolChainPrivate(other.id(), false))
{ {
// leave the autodetection bit at false. // leave the autodetection bit at false.
m_d->m_displayName = other.displayName(); m_d->m_displayName = QCoreApplication::translate("ProjectExplorer::ToolChain", "Clone of %1")
.arg(other.displayName());
} }
ToolChain::~ToolChain() ToolChain::~ToolChain()