forked from qt-creator/qt-creator
On apply correctly update the model for not transfered toolchains
Better fix.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user