aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/classdocumentation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/classdocumentation.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/classdocumentation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/classdocumentation.cpp b/sources/shiboken6/ApiExtractor/classdocumentation.cpp
index 1e721b589..ccc7b29d2 100644
--- a/sources/shiboken6/ApiExtractor/classdocumentation.cpp
+++ b/sources/shiboken6/ApiExtractor/classdocumentation.cpp
@@ -88,7 +88,7 @@ enum class WebXmlCodeTag
static WebXmlCodeTag tag(QStringView name)
{
- if (name == u"class" || name == u"namespace")
+ if (name == "class"_L1 || name == "struct"_L1 || name == "namespace"_L1)
return WebXmlCodeTag::Class;
if (name == u"enum")
return WebXmlCodeTag::Enum;