]> git.pld-linux.org Git - packages/kf5-kio.git/blob - kio_help-fallback-to-kde4-docs.patch
- updated to 5.84.0
[packages/kf5-kio.git] / kio_help-fallback-to-kde4-docs.patch
1 Index: kio-5.36.0git.20170624T013155~b715b585/src/ioslaves/help/kio_help.cpp
2 ===================================================================
3 --- kio-5.36.0git.20170624T013155~b715b585.orig/src/ioslaves/help/kio_help.cpp
4 +++ kio-5.36.0git.20170624T013155~b715b585/src/ioslaves/help/kio_help.cpp
5 @@ -51,7 +51,9 @@ QString HelpProtocol::langLookup(const Q
6      QStringList search;
7  
8      // assemble the local search paths
9 -    const QStringList localDoc = KDocTools::documentationDirs();
10 +    QStringList localDoc = KDocTools::documentationDirs();
11 +    QStringList fallbacklocalDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/kde/HTML"), QStandardPaths::LocateDirectory);
12 +    localDoc.append(fallbacklocalDoc);
13  
14      QStringList langs = KLocalizedString::languages();
15      langs.append(QStringLiteral("en"));
This page took 0.234555 seconds and 3 git commands to generate.