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) {
|
||||
delete n->toolChain;
|
||||
n->toolChain = 0;
|
||||
markForRemoval(n->toolChain);
|
||||
}
|
||||
qDeleteAll(m_toAddList);
|
||||
}
|
||||
|
Reference in New Issue
Block a user