ProjectExplorer: Silence recently introduced warning

The checked path is actually used in the context of the debugger.

Change-Id: I58af35db65b8fb4ad0af9694714765bdc336a0ef
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-02-22 11:31:11 +01:00
parent 564d27f664
commit f8a946ce96

View File

@@ -140,8 +140,9 @@ void GlobalOrProjectAspect::toActiveMap(QVariantMap &data) const
m_globalSettings->toMap(data); m_globalSettings->toMap(data);
else if (m_projectSettings) else if (m_projectSettings)
m_projectSettings->toMap(data); m_projectSettings->toMap(data);
else // The debugger accesses the data directly, so this can actually happen.
QTC_CHECK(false); //else
// QTC_CHECK(false);
} }
void GlobalOrProjectAspect::resetProjectToGlobalSettings() void GlobalOrProjectAspect::resetProjectToGlobalSettings()