Debugger: Fix compatibility for debugger engine states

..when switching back to an older version of QC.
Amends e0219fad4d.

Change-Id: I3662eb95cf1ae72f92688f12cc15b7a42fb1452c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Stenger
2023-05-09 08:38:54 +02:00
parent dfaebde520
commit be25db429e

View File

@@ -216,6 +216,10 @@ void DebuggerRunConfigurationAspect::toMap(QVariantMap &map) const
m_qmlAspect->toMap(map);
m_multiProcessAspect->toMap(map);
m_overrideStartupAspect->toMap(map);
// compatibility to old settings
map.insert("RunConfiguration.UseCppDebuggerAuto", m_cppAspect->value() == TriState::Default);
map.insert("RunConfiguration.UseQmlDebuggerAuto", m_qmlAspect->value() == TriState::Default);
}
void DebuggerRunConfigurationAspect::fromMap(const QVariantMap &map)