summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Kangas <janne.kangas@qt.io>2020-02-28 12:13:06 +0200
committerJanne Kangas <janne.kangas@qt.io>2020-02-28 12:38:35 +0200
commit33d1e74df7e65c7edf6b6c5aec415f8130272146 (patch)
tree07b51c29f4395347c4bda462c09d1deb9dd23b1d
parent5616822039fc185ce26071d0de0d8aec5eccc0a1 (diff)
Fix unique id creation
Do not strip away the characters after underscore, when creating a new unique id. Task-id: QT3DS-3979 Change-Id: Icf45feee1a22efe0ae25976a3d779a1271c92336 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
-rw-r--r--src/Authoring/Client/Code/Core/Doc/IComposerSerializer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Authoring/Client/Code/Core/Doc/IComposerSerializer.cpp b/src/Authoring/Client/Code/Core/Doc/IComposerSerializer.cpp
index 1fca9152..ad72a0d9 100644
--- a/src/Authoring/Client/Code/Core/Doc/IComposerSerializer.cpp
+++ b/src/Authoring/Client/Code/Core/Doc/IComposerSerializer.cpp
@@ -635,7 +635,6 @@ struct SComposerSerializerImpl : public IComposerSerializer
stem.toWCharArray(reinterpret_cast<wchar_t *>(warr.data()));
return m_StringTable.RegisterStr(reinterpret_cast<wchar_t *>(warr.data()));
}
- stem = stem.left(pos);
}
// Create an ID for this instance