QmlDesigner: Do not assume MCU as the default

Fixes the sympton of QDS-2554, but not the real issue.

Task-number: QDS-2554
Change-Id: I8e0aca0b843bcb2befdc2d9a85b2dbfdb468ffb2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2020-08-17 16:45:37 +02:00
parent fcabab7b5f
commit 95e0b71b88

View File

@@ -277,7 +277,7 @@ bool DesignDocument::isQtForMCUsProject() const
if (m_currentTarget) if (m_currentTarget)
return m_currentTarget->additionalData("CustomQtForMCUs").toBool(); return m_currentTarget->additionalData("CustomQtForMCUs").toBool();
return true; return false;
} }
void DesignDocument::changeToInFileComponentModel(ComponentTextModifier *textModifer) void DesignDocument::changeToInFileComponentModel(ComponentTextModifier *textModifer)