summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/qhelpcollectionhandler.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-01-13 11:42:24 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-01-13 12:23:03 +0100
commit60816bcd36a5365bb2fb590e4639ed656b50cb4d (patch)
tree312900a26de1c13595868fc6116ba3261aa27031 /src/assistant/help/qhelpcollectionhandler.cpp
parent583472b7ab67fbb71e823cf5474c90af28952263 (diff)
Assistant: Deduplicate helper buildQUrl()
It causes clashes in CMake Unity (Jumbo) builds. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I40ae560ff7e15aa8240736fe9bca14e756a67716 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/assistant/help/qhelpcollectionhandler.cpp')
-rw-r--r--src/assistant/help/qhelpcollectionhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assistant/help/qhelpcollectionhandler.cpp b/src/assistant/help/qhelpcollectionhandler.cpp
index ef20113d0..b8a61eae5 100644
--- a/src/assistant/help/qhelpcollectionhandler.cpp
+++ b/src/assistant/help/qhelpcollectionhandler.cpp
@@ -2263,8 +2263,8 @@ bool QHelpCollectionHandler::unregisterIndexTable(int nsId, int vfId)
return true;
}
-static QUrl buildQUrl(const QString &ns, const QString &folder,
- const QString &relFileName, const QString &anchor)
+QUrl QHelpCollectionHandler::buildQUrl(const QString &ns, const QString &folder,
+ const QString &relFileName, const QString &anchor)
{
QUrl url;
url.setScheme(QLatin1String("qthelp"));