forked from qt-creator/qt-creator
QmlDesigner: Fix enumeration generation from scope and name
Fixes: QDS-10363 Fixes: QDS-10387 Change-Id: I32b7b4a01aeeb6b8d6cd3a4e1fd819c0fa4753e4 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -37,7 +37,7 @@ public:
|
|||||||
{
|
{
|
||||||
m_enumerationName.reserve(scope.size() + 1 + name.size());
|
m_enumerationName.reserve(scope.size() + 1 + name.size());
|
||||||
m_enumerationName.append(scope);
|
m_enumerationName.append(scope);
|
||||||
m_enumerationName.append(1);
|
m_enumerationName.append('.');
|
||||||
m_enumerationName.append(name);
|
m_enumerationName.append(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user