aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/doxygenparser.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-04-22 08:52:16 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-04-25 12:13:40 +0200
commit42666b5bab09a80a65ae8f61961985f4923b7d65 (patch)
treef11276bd86f78455a3d8063f6111dbc0ca249098 /sources/shiboken6/ApiExtractor/doxygenparser.cpp
parent20544c012c81dc05044291cacaeb4d71ced509c7 (diff)
Migrate from QLatin1Char to UTF-16 char literals
Preparing for the deprecation of QLatin1Char in 6.4. Task-number: QTBUG-98434 Pick-to: 6.3 6.2 Change-Id: I8bc92aa9f4e6dbfcb12d2025c5a1e760ab4f0d7f Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/doxygenparser.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/doxygenparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/doxygenparser.cpp b/sources/shiboken6/ApiExtractor/doxygenparser.cpp
index 0a1703d31..8a1787f5a 100644
--- a/sources/shiboken6/ApiExtractor/doxygenparser.cpp
+++ b/sources/shiboken6/ApiExtractor/doxygenparser.cpp
@@ -78,7 +78,7 @@ void DoxygenParser::fillDocumentation(AbstractMetaClass* metaClass)
QString doxyFilePath;
for (const char *prefix : prefixes) {
- doxyFilePath = documentationDataDirectory() + QLatin1Char('/')
+ doxyFilePath = documentationDataDirectory() + u'/'
+ QLatin1String(prefix) + doxyFileSuffix;
if (QFile::exists(doxyFilePath))
break;
@@ -165,7 +165,7 @@ void DoxygenParser::fillDocumentation(AbstractMetaClass* metaClass)
if (!isProperty) {
funcQuery += QLatin1String("/../") + tag.second;
} else {
- funcQuery = QLatin1Char('(') + funcQuery;
+ funcQuery = u'(' + funcQuery;
funcQuery += u"/../"_qs + tag.second + u")[1]"_qs;
}