mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
14 lines
860 B
Diff
14 lines
860 B
Diff
diff --git a/src/kpluginselector.cpp b/src/kpluginselector.cpp
|
|
index c63241b..2243f94 100644
|
|
--- a/src/kpluginselector.cpp
|
|
+++ b/src/kpluginselector.cpp
|
|
@@ -304,7 +304,7 @@ void KPluginSelector::addPlugins(const QString &componentName,
|
|
QStringList desktopFileNames;
|
|
const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, componentName + QStringLiteral("/kpartplugins"), QStandardPaths::LocateDirectory);
|
|
Q_FOREACH (const QString &dir, dirs) {
|
|
- QDirIterator it(dir, QStringList() << QStringLiteral("*.desktop"), QDir::NoFilter, QDirIterator::Subdirectories);
|
|
+ QDirIterator it(dir, QStringList() << QStringLiteral("*.desktop"), QDir::NoFilter, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks);
|
|
while (it.hasNext()) {
|
|
desktopFileNames.append(it.next());
|
|
}
|