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

26 lines
993 B
Diff
Raw Permalink Normal View History

From af569c9ed8079169b524b31461e2789baa09ef7a Mon Sep 17 00:00:00 2001
2020-01-27 14:29:51 +00:00
From: Thomas Tuegel <ttuegel@mailbox.org>
Date: Mon, 27 Jan 2020 05:31:13 -0600
Subject: [PATCH 1/3] follow symlinks
2020-01-27 14:29:51 +00:00
---
src/plugins/kdecorations/aurorae/src/aurorae.cpp | 2 +-
2020-01-27 14:29:51 +00:00
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/kdecorations/aurorae/src/aurorae.cpp b/src/plugins/kdecorations/aurorae/src/aurorae.cpp
index 5242cb7..2e4ddae 100644
--- a/src/plugins/kdecorations/aurorae/src/aurorae.cpp
+++ b/src/plugins/kdecorations/aurorae/src/aurorae.cpp
@@ -201,7 +201,7 @@ void Helper::init()
2020-01-27 14:29:51 +00: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();
--
2.29.2
2020-01-27 14:29:51 +00:00