aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/doxygenparser.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-07-29 10:36:42 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-07-29 16:43:56 +0200
commitcd26028c85720ed58a31d0564f6a3e87004d6f60 (patch)
tree81b4073fde4482ecd0f71d499094bdf10459a4e6 /sources/shiboken6/ApiExtractor/doxygenparser.cpp
parentd57e16a89fb963c7416f6a9875773ac0edbcb032 (diff)
shiboken6: Replace placeholder formatting by string literals
It makes the code more readable and is faster. Change-Id: I75f2e427d2d46176690d9689c5129a63e867faa6 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/doxygenparser.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/doxygenparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/doxygenparser.cpp b/sources/shiboken6/ApiExtractor/doxygenparser.cpp
index 90072c227..ed589dd09 100644
--- a/sources/shiboken6/ApiExtractor/doxygenparser.cpp
+++ b/sources/shiboken6/ApiExtractor/doxygenparser.cpp
@@ -166,7 +166,7 @@ void DoxygenParser::fillDocumentation(AbstractMetaClass* metaClass)
funcQuery += QLatin1String("/../") + tag.second;
} else {
funcQuery = QLatin1Char('(') + funcQuery;
- funcQuery += QLatin1String("/../%1)[1]").arg(tag.second);
+ funcQuery += u"/../"_qs + tag.second + u")[1]"_qs;
}
QString doc = getDocumentation(xquery, funcQuery, DocModificationList());