forked from qt-creator/qt-creator
Make sure to save settings when closing managers
This is needed to catch any updates that were triggered during tear down of the UI (which happens after the saveSettings signal was emitted). Change-Id: I9f14e8807070f3192551a3653bad31072db539f5 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -203,6 +203,8 @@ void ToolChainManager::restoreToolChains()
|
||||
|
||||
ToolChainManager::~ToolChainManager()
|
||||
{
|
||||
saveToolChains(); // Make sure to save tool chains when closing
|
||||
|
||||
// Deregister tool chains
|
||||
QList<ToolChain *> copy = d->toolChains();
|
||||
foreach (ToolChain *tc, copy)
|
||||
|
||||
Reference in New Issue
Block a user