aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2025-12-18 13:38:18 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2025-12-22 12:05:40 +0000
commit15cd1f8e4fd6e1e1e1bb621cae465d66acf9ed91 (patch)
tree6ed46a9c89693683593686a2b211440f3752b75e
parent8bb39ac2a5c92c4a32ab3b405c4c4f00c5033b35 (diff)
StyleKit: insert cached string into hash table6.11
Amending commit 9975c733be The previous commit introduced caching of path strings, as the same paths are typically used repeatedly. However, it failed to actually insert the generated strings into the cache. This patch amends that change by ensuring the cache is properly populated with the generated path strings. Change-Id: I4222f083b722947b168f1dadfba265a9aa4be702 Reviewed-by: Doris Verria <doris.verria@qt.io> (cherry picked from commit bb7391d241e186cb33b71c0cfdfb438cd5f7edf9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/labs/stylekit/qqstylekitcontrolproperties.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/labs/stylekit/qqstylekitcontrolproperties.cpp b/src/labs/stylekit/qqstylekitcontrolproperties.cpp
index d35935860f..c6c1e3691f 100644
--- a/src/labs/stylekit/qqstylekitcontrolproperties.cpp
+++ b/src/labs/stylekit/qqstylekitcontrolproperties.cpp
@@ -71,6 +71,7 @@ QString QQStyleKitPropertyGroup::pathToString() const
pathString += '.'_L1 + groupName;
}
+ s_pathStrings.insert(m_groupSpace.start, pathString);
return pathString;
}