2017-05-25 19:32:15 +01:00
|
|
|
Index: kcmutils-5.33.0/src/kpluginselector.cpp
|
|
|
|
===================================================================
|
|
|
|
--- kcmutils-5.33.0.orig/src/kpluginselector.cpp
|
|
|
|
+++ kcmutils-5.33.0/src/kpluginselector.cpp
|
|
|
|
@@ -305,7 +305,7 @@ void KPluginSelector::addPlugins(const Q
|
2016-04-21 16:32:21 +01:00
|
|
|
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());
|
|
|
|
}
|