Cloned Toolchains are "equal" so they aren't added

Reviewed-By: hunger
This commit is contained in:
dt
2011-02-23 16:26:12 +01:00
parent 5d0c1a419c
commit 041c27cb69

View File

@@ -307,6 +307,12 @@ void ToolChainModel::apply()
foreach (ToolChainNode *n, nodes) {
ToolChainManager::instance()->registerToolChain(n->toolChain);
}
//
foreach (ToolChainNode *n, m_toAddList) {
delete n->toolChain;
n->toolChain = 0;
}
qDeleteAll(m_toAddList);
}
void ToolChainModel::discard()