16 lines
863 B
Diff
16 lines
863 B
Diff
Index: kio-5.62.0git.20220814T183454~5e2dc5a18/src/kioworkers/help/kio_help.cpp
|
|
===================================================================
|
|
--- kio-5.62.0git.20220814T183454~5e2dc5a18.orig/src/kioworkers/help/kio_help.cpp
|
|
+++ kio-5.62.0git.20220814T183454~5e2dc5a18/src/kioworkers/help/kio_help.cpp
|
|
@@ -35,7 +35,9 @@ QString HelpProtocol::langLookup(const Q
|
|
QStringList search;
|
|
|
|
// assemble the local search paths
|
|
- const QStringList localDoc = KDocTools::documentationDirs();
|
|
+ QStringList localDoc = KDocTools::documentationDirs();
|
|
+ QStringList fallbacklocalDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/kde/HTML"), QStandardPaths::LocateDirectory);
|
|
+ localDoc.append(fallbacklocalDoc);
|
|
|
|
QStringList langs = KLocalizedString::languages();
|
|
langs.append(QStringLiteral("en"));
|