aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help/helpplugin.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-06-09 11:24:29 +0200
committerEike Ziller <eike.ziller@qt.io>2023-06-09 11:24:29 +0200
commit375db16ac431b326a7c87e009f861875050a4247 (patch)
tree8dd29c7f109cbab6af7522c1616b544ff3a865b8 /src/plugins/help/helpplugin.cpp
parent804ad5a7f646739839bb3d4ef62a4771ba6fa1e1 (diff)
parent45abf54a611ae6c5dbd997d0ad5ab0a943b90f5a (diff)
Merge remote-tracking branch 'origin/11.0'
Diffstat (limited to 'src/plugins/help/helpplugin.cpp')
-rw-r--r--src/plugins/help/helpplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp
index 7329b3dad67..9ad90528676 100644
--- a/src/plugins/help/helpplugin.cpp
+++ b/src/plugins/help/helpplugin.cpp
@@ -182,7 +182,7 @@ HelpPluginPrivate::HelpPluginPrivate()
auto qtr = new QTranslator(this);
auto qhelptr = new QTranslator(this);
const QString creatorTrPath = ICore::resourcePath("translations").toString();
- const QString qtTrPath = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
+ const QString qtTrPath = QLibraryInfo::path(QLibraryInfo::TranslationsPath);
const QString trFile = QLatin1String("assistant_") + locale;
const QString helpTrFile = QLatin1String("qt_help_") + locale;
if (qtr->load(trFile, qtTrPath) || qtr->load(trFile, creatorTrPath))