nixpkgs/pkgs/desktops/plasma-5.4/kwin/0001-qdiriterator-follow-symlinks.patch

26 lines
914 B
Diff
Raw Normal View History

2015-10-14 14:06:08 +02:00
From 78a4b554187c18fd86b62089f7730c4273fadd4c Mon Sep 17 00:00:00 2001
From: Thomas Tuegel <ttuegel@gmail.com>
Date: Wed, 14 Oct 2015 07:05:22 -0500
Subject: [PATCH] qdiriterator follow symlinks
---
clients/aurorae/src/aurorae.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2015-09-27 17:03:00 +02:00
diff --git a/clients/aurorae/src/aurorae.cpp b/clients/aurorae/src/aurorae.cpp
2015-10-14 14:06:08 +02:00
index 781c960..ad5f420 100644
2015-09-27 17:03:00 +02:00
--- a/clients/aurorae/src/aurorae.cpp
+++ b/clients/aurorae/src/aurorae.cpp
2015-10-14 14:06:08 +02:00
@@ -211,7 +211,7 @@ void Helper::init()
2015-09-27 17:03:00 +02:00
// so let's try to locate our plugin:
QString pluginPath;
for (const QString &path : m_engine->importPathList()) {
- QDirIterator it(path, QDirIterator::Subdirectories);
+ QDirIterator it(path, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks);
while (it.hasNext()) {
it.next();
QFileInfo fileInfo = it.fileInfo();
2015-10-14 14:06:08 +02:00
--
2.5.2