summary refs log tree commit diff
path: root/pkgs/development/libraries/kde-frameworks-5.14/kconfigwidgets/kconfigwidgets-helpclient-follow-symlinks.patch
blob: 3bd946cbd84267c2b1e515da339f2243795914ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/khelpclient.cpp b/src/khelpclient.cpp
index 53a331e..80fbb01 100644
--- 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);
     Q_FOREACH (const QString &dir, desktopDirs) {
-        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);