Commit 243bdc8c authored by dt's avatar dt
Browse files

On apply correctly update the model for not transfered toolchains

Better fix.
parent 1a3ed101
...@@ -309,8 +309,7 @@ void ToolChainModel::apply() ...@@ -309,8 +309,7 @@ void ToolChainModel::apply()
} }
// //
foreach (ToolChainNode *n, m_toAddList) { foreach (ToolChainNode *n, m_toAddList) {
delete n->toolChain; markForRemoval(n->toolChain);
n->toolChain = 0;
} }
qDeleteAll(m_toAddList); qDeleteAll(m_toAddList);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment