On apply correctly update the model for not transfered toolchains

Better fix.
This commit is contained in:
dt
2011-02-23 17:16:31 +01:00
parent 1a3ed101cb
commit 243bdc8ca4

View File

@@ -309,8 +309,7 @@ void ToolChainModel::apply()
}
//
foreach (ToolChainNode *n, m_toAddList) {
delete n->toolChain;
n->toolChain = 0;
markForRemoval(n->toolChain);
}
qDeleteAll(m_toAddList);
}