2016-04-21 17:32:21 +02:00
|
|
|
diff --git a/src/khelpclient.cpp b/src/khelpclient.cpp
|
2018-01-14 15:28:23 +01:00
|
|
|
index fbbc0fa..cb78741 100644
|
2016-04-21 17:32:21 +02:00
|
|
|
--- a/src/khelpclient.cpp
|
|
|
|
+++ b/src/khelpclient.cpp
|
|
|
|
@@ -48,7 +48,7 @@ void KHelpClient::invokeHelp(const QString &anchor, const QString &_appname)
|
|
|
|
QString docPath;
|
|
|
|
const QStringList desktopDirs = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation);
|
2018-01-14 15:28:23 +01:00
|
|
|
for (const QString &dir : desktopDirs) {
|
2016-04-21 17:32:21 +02:00
|
|
|
- QDirIterator it(dir, QStringList() << appname + QLatin1String(".desktop"), QDir::NoFilter, QDirIterator::Subdirectories);
|
|
|
|
+ QDirIterator it(dir, QStringList() << appname + QLatin1String(".desktop"), QDir::NoFilter, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks);
|
|
|
|
while (it.hasNext()) {
|
|
|
|
const QString desktopPath(it.next());
|
|
|
|
KDesktopFile desktopFile(desktopPath);
|
2018-01-14 15:28:23 +01:00
|
|
|
@@ -75,4 +75,3 @@ void KHelpClient::invokeHelp(const QString &anchor, const QString &_appname)
|
|
|
|
// launch khelpcenter, or a browser for URIs not handled by khelpcenter
|
|
|
|
QDesktopServices::openUrl(url);
|
|
|
|
}
|
|
|
|
-
|