diff options
Diffstat (limited to 'src/plugins/projectexplorer/toolchainmanager.cpp')
| -rw-r--r-- | src/plugins/projectexplorer/toolchainmanager.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/toolchainmanager.cpp b/src/plugins/projectexplorer/toolchainmanager.cpp index a655f5c1bc3..f91599d4135 100644 --- a/src/plugins/projectexplorer/toolchainmanager.cpp +++ b/src/plugins/projectexplorer/toolchainmanager.cpp @@ -120,11 +120,7 @@ void ToolchainManager::restoreToolchains() if (!device) return; - // FIXME: ToolchainDetector needs extension to instruct downstream code to - // look at all possible combinations of PATH and explicit search paths, - // so that the settings from the device widget can be honored. - ToolchainDetector detector(m_instance->toolchains(), device, {}); - + ToolchainDetector detector(m_instance->toolchains(), device, device->toolSearchPaths()); Toolchains toRegister; for (ToolchainFactory *f : ToolchainFactory::allToolchainFactories()) { for (Toolchain * const tc : f->autoDetect(detector)) { |
