mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 10:24:15 +00:00
14 lines
828 B
Diff
14 lines
828 B
Diff
Index: kservice-5.21.0/src/sycoca/kbuildsycoca.cpp
|
|
===================================================================
|
|
--- kservice-5.21.0.orig/src/sycoca/kbuildsycoca.cpp
|
|
+++ kservice-5.21.0/src/sycoca/kbuildsycoca.cpp
|
|
@@ -203,7 +203,7 @@ bool KBuildSycoca::build()
|
|
QSet<QString> relFiles;
|
|
const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, m_resourceSubdir, QStandardPaths::LocateDirectory);
|
|
Q_FOREACH (const QString &dir, dirs) {
|
|
- QDirIterator it(dir, QDirIterator::Subdirectories);
|
|
+ QDirIterator it(dir, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks);
|
|
while (it.hasNext()) {
|
|
const QString filePath = it.next();
|
|
Q_ASSERT(filePath.startsWith(dir)); // due to the line below...
|