about summary refs log tree commit diff
path: root/pkgs/desktops/kde-5/plasma/kwin/0001-qdiriterator-follow-symlinks.patch
blob: 7a70fec0d2dd6d130591609484bf8ce196d7092e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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(-)

diff --git a/clients/aurorae/src/aurorae.cpp b/clients/aurorae/src/aurorae.cpp
index 781c960..ad5f420 100644
--- a/plugins/kdecorations/aurorae/src/aurorae.cpp
+++ b/plugins/kdecorations/aurorae/src/aurorae.cpp
@@ -211,7 +211,7 @@ void Helper::init()
     // 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();
-- 
2.5.2