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:
Miikka Heikkinen
2023-08-01 14:57:15 +03:00
parent e0197a791f
commit 787f17ce91

View File

@@ -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);
} }