aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-01-22 13:25:44 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-01-23 16:30:15 +0100
commit9e19ebd9c90999368dbf2db1a5e7b44cc2ddf7fa (patch)
tree0befee52fefe0e12af49fca26d2f47552c1e0c9c /sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp
parent31de5e520d69d47d9710ad8b97aee62ce053916f (diff)
shiboken6: Make more functions static using clang tidy
Apply the fix created by clang tidy' -wreadability-convert-member-functions-to-static warning with some manual correction. Change-Id: I394bd96881fa25dbcb7a725b79d10395fcbb8676 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp')
-rw-r--r--sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp b/sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp
index 66c267852..19501d06c 100644
--- a/sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp
+++ b/sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp
@@ -996,7 +996,7 @@ static QString fixLinkText(const QtXmlToSphinx::LinkContext *linkContext,
return linktext;
}
-void QtXmlToSphinx::handleLinkText(LinkContext *linkContext, const QString &linktext) const
+void QtXmlToSphinx::handleLinkText(LinkContext *linkContext, const QString &linktext)
{
linkContext->linkText = fixLinkText(linkContext, linktext);
}