forked from qt-creator/qt-creator
ProjectExplorer: Remove Toolchain::AutoDetectionFromSettings
It's unclear why auto-detected toolchains should be treated differently after a restart of Qt Creator. Change-Id: I0ba3787adccfb070ce0b36135e8fe94d6e4e4628 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -273,7 +273,7 @@ bool ToolChain::fromMap(const QVariantMap &data)
|
||||
d->m_id = id.mid(pos + 1).toUtf8();
|
||||
|
||||
const bool autoDetect = data.value(QLatin1String(AUTODETECT_KEY), false).toBool();
|
||||
d->m_detection = autoDetect ? AutoDetectionFromSettings : ManualDetection;
|
||||
d->m_detection = autoDetect ? AutoDetection : ManualDetection;
|
||||
|
||||
if (data.contains(LANGUAGE_KEY_V2)) {
|
||||
// remove hack to trim language id in 4.4: This is to fix up broken language
|
||||
|
||||
Reference in New Issue
Block a user