From adb40fadb6f9c7ca04cea0dd4febce515dd1e2ac Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Tue, 18 Sep 2012 17:12:40 +0200 Subject: [PATCH] ToolChains: Read SDK settings from Nokia/qtcreator/toolchains.xml and not from Nokia/toolchains.xml. This makes sure the SDK settings and the personal settings pathes differ in prefix only. Change-Id: Ib3a742d28258e86912cb820ff6c9d0c1b44c1763 Reviewed-by: Eike Ziller --- src/plugins/projectexplorer/toolchainmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/toolchainmanager.cpp b/src/plugins/projectexplorer/toolchainmanager.cpp index 4a2568c9665..729e8f5c613 100644 --- a/src/plugins/projectexplorer/toolchainmanager.cpp +++ b/src/plugins/projectexplorer/toolchainmanager.cpp @@ -142,7 +142,7 @@ void ToolChainManager::restoreToolChains() // read all tool chains from SDK QFileInfo systemSettingsFile(Core::ICore::settings(QSettings::SystemScope)->fileName()); QList readTcs = - restoreToolChains(Utils::FileName::fromString(systemSettingsFile.absolutePath() + QLatin1String(LEGACY_TOOLCHAIN_FILENAME))); + restoreToolChains(Utils::FileName::fromString(systemSettingsFile.absolutePath() + QLatin1String(TOOLCHAIN_FILENAME))); // make sure we mark these as autodetected! foreach (ToolChain *tc, readTcs) tc->setAutoDetected(true);