diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-10-15 16:01:40 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-10-27 12:16:16 +0000 |
commit | ac1d9abd0733567f8a94bf3374fb6d36e59a08bf (patch) | |
tree | 60a841b2f671e107f6cc0e7344faa202d5cc1e45 /src/plugins/projectexplorer/toolchainmanager.h | |
parent | e5d62f3e7e4ddd60192fa140ec3af33417816212 (diff) |
ToolChainManager: Refactor toolchain restoration
This should be simpler to follow now.
Fix autodetection to return not only the newly detected toolchains,
but also those that are re-detected (taking their definition from
the alreadyKnown list passed to the autodetect method where possible).
This avoids running lots of toolchains during start-up, but still
enables us to fix QTCREATORBUG-12751
Task-number: QTCREATORBUG-12751
Change-Id: Ie74e7cffb2b014a6132cc8559db232397344f2f1
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/toolchainmanager.h')
-rw-r--r-- | src/plugins/projectexplorer/toolchainmanager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/toolchainmanager.h b/src/plugins/projectexplorer/toolchainmanager.h index f787272a35..9214ac3010 100644 --- a/src/plugins/projectexplorer/toolchainmanager.h +++ b/src/plugins/projectexplorer/toolchainmanager.h @@ -87,6 +87,9 @@ private: // Make sure the this is only called after all // Tool chain Factories are registered! static void restoreToolChains(); + + static QList<ToolChain *> readSystemFileToolChains(); + static void notifyAboutUpdate(ToolChain *); friend class ProjectExplorerPlugin; // for constructor |