From: Jonathan Riddell Date: Sun, 15 May 2016 19:03:09 +0000 (+0200) Subject: kubuntu_kdelibs4-docs-path X-Git-Tag: archive/raspbian/6.6.0-1+rpi1~1^2^2^2^2^2^2^2^2^2^2^2^2^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d780a02120901a18e472990cd627040177ed0151;p=kf6-kio.git kubuntu_kdelibs4-docs-path add search paths for kdelibs4 docs Forwarded: no, kdelibs4 path was set in debian/kubuntu packages Gbp-Pq: Name kubuntu_kdelibs4-docs-path.diff --- diff --git a/src/ioslaves/help/kio_help.cpp b/src/ioslaves/help/kio_help.cpp index f555840..9a7b2fc 100644 --- a/src/ioslaves/help/kio_help.cpp +++ b/src/ioslaves/help/kio_help.cpp @@ -50,7 +50,8 @@ QString HelpProtocol::langLookup(const QString &fname) QStringList search; // assemble the local search paths - const QStringList localDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/HTML"), QStandardPaths::LocateDirectory); + QStringList localDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/HTML"), QStandardPaths::LocateDirectory); + localDoc << QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,QStringLiteral("doc/kde/HTML"), QStandardPaths::LocateDirectory); QStringList langs = KLocalizedString::languages(); langs.append(QStringLiteral("en"));