2015-04-12 11:53:55 +02:00
|
|
|
diff --git a/src/ioslaves/help/kio_help.cpp b/src/ioslaves/help/kio_help.cpp
|
2015-11-08 18:33:56 +01:00
|
|
|
index cb27a77..0157c4f 100644
|
2015-04-12 11:53:55 +02:00
|
|
|
--- a/src/ioslaves/help/kio_help.cpp
|
|
|
|
+++ b/src/ioslaves/help/kio_help.cpp
|
|
|
|
@@ -49,7 +49,9 @@ QString HelpProtocol::langLookup(const QString &fname)
|
|
|
|
QStringList search;
|
|
|
|
|
|
|
|
// assemble the local search paths
|
2015-11-08 18:33:56 +01:00
|
|
|
- const QStringList localDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/HTML"), QStandardPaths::LocateDirectory);
|
|
|
|
+ QStringList localDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/HTML"), QStandardPaths::LocateDirectory);
|
|
|
|
+ QStringList fallbacklocalDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/kde/HTML"), QStandardPaths::LocateDirectory);
|
2015-04-12 11:53:55 +02:00
|
|
|
+ localDoc.append(fallbacklocalDoc);
|
|
|
|
|
2016-04-04 18:43:52 +02:00
|
|
|
QStringList langs = KLocalizedString::languages();
|
2015-11-08 18:33:56 +01:00
|
|
|
langs.append(QStringLiteral("en"));
|