SHA256
1
0
forked from pool/kio
Hrvoje Senjan 2015-11-08 17:33:56 +00:00 committed by Git OBS Bridge
parent ad87216932
commit cbb050bbd8

View File

@ -1,15 +1,15 @@
diff --git a/src/ioslaves/help/kio_help.cpp b/src/ioslaves/help/kio_help.cpp diff --git a/src/ioslaves/help/kio_help.cpp b/src/ioslaves/help/kio_help.cpp
index 5abd4c8..5bc692b 100644 index cb27a77..0157c4f 100644
--- a/src/ioslaves/help/kio_help.cpp --- a/src/ioslaves/help/kio_help.cpp
+++ b/src/ioslaves/help/kio_help.cpp +++ b/src/ioslaves/help/kio_help.cpp
@@ -49,7 +49,9 @@ QString HelpProtocol::langLookup(const QString &fname) @@ -49,7 +49,9 @@ QString HelpProtocol::langLookup(const QString &fname)
QStringList search; QStringList search;
// assemble the local search paths // assemble the local search paths
- const QStringList localDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, "doc/HTML", QStandardPaths::LocateDirectory); - const QStringList localDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/HTML"), QStandardPaths::LocateDirectory);
+ QStringList localDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, "doc/HTML", QStandardPaths::LocateDirectory); + QStringList localDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/HTML"), QStandardPaths::LocateDirectory);
+ QStringList fallbacklocalDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, "doc/kde/HTML", QStandardPaths::LocateDirectory); + QStringList fallbacklocalDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/kde/HTML"), QStandardPaths::LocateDirectory);
+ localDoc.append(fallbacklocalDoc); + localDoc.append(fallbacklocalDoc);
QStringList langs = QLocale().uiLanguages(); QStringList langs = QLocale().uiLanguages();
langs.append("en"); langs.append(QStringLiteral("en"));