biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / kde / frameworks / kservice / qdiriterator-follow-symlinks.patch
blobfdd8b4d81a187cdf02d05b74d9d144ef98f8de97
1 diff --git a/src/sycoca/kbuildsycoca.cpp b/src/sycoca/kbuildsycoca.cpp
2 index b125299..0682b90 100644
3 --- a/src/sycoca/kbuildsycoca.cpp
4 +++ b/src/sycoca/kbuildsycoca.cpp
5 @@ -207,7 +207,7 @@ bool KBuildSycoca::build()
6 const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, m_resourceSubdir, QStandardPaths::LocateDirectory);
7 qCDebug(SYCOCA) << "Looking for subdir" << m_resourceSubdir << "=>" << dirs;
8 for (const QString &dir : dirs) {
9 - QDirIterator it(dir, QDirIterator::Subdirectories);
10 + QDirIterator it(dir, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks);
11 while (it.hasNext()) {
12 const QString filePath = it.next();
13 Q_ASSERT(filePath.startsWith(dir)); // due to the line below...