From cbb050bbd8813b356f56662175c9e1dcb55612cced4bd3d9344c5c6ab3cd147c Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 8 Nov 2015 17:33:56 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kio?expand=0&rev=101 --- kio_help-fallback-to-kde4-docs.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kio_help-fallback-to-kde4-docs.patch b/kio_help-fallback-to-kde4-docs.patch index 6aa8887..8f10420 100644 --- a/kio_help-fallback-to-kde4-docs.patch +++ b/kio_help-fallback-to-kde4-docs.patch @@ -1,15 +1,15 @@ 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 +++ b/src/ioslaves/help/kio_help.cpp @@ -49,7 +49,9 @@ QString HelpProtocol::langLookup(const QString &fname) QStringList search; // assemble the local search paths -- const QStringList localDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, "doc/HTML", QStandardPaths::LocateDirectory); -+ QStringList localDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, "doc/HTML", QStandardPaths::LocateDirectory); -+ QStringList fallbacklocalDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, "doc/kde/HTML", QStandardPaths::LocateDirectory); +- 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); + localDoc.append(fallbacklocalDoc); QStringList langs = QLocale().uiLanguages(); - langs.append("en"); + langs.append(QStringLiteral("en"));