ProjectExplorer: Use ToolChainFactories to clone ToolChains

Centrally.

Change-Id: Ie832c5ad0eb282192440d9d4d058d082d9513cc2
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-05-13 16:18:25 +02:00
parent 31700217b1
commit 2226c1b87b
18 changed files with 66 additions and 158 deletions

View File

@@ -140,11 +140,6 @@ std::unique_ptr<ProjectExplorer::ToolChainConfigWidget> NimToolChain::createConf
return std::make_unique<NimToolChainConfigWidget>(this);
}
ToolChain *NimToolChain::clone() const
{
return new NimToolChain(*this);
}
QVariantMap NimToolChain::toMap() const
{
QVariantMap data = ToolChain::toMap();