mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 23:13:56 +00:00
c8885106c1
- Update from Plasma 5.7.0 to 5.7.1. - Remove the version number from the directory storing the Plasma Nix expressions. It is not necessary to version the Nix expressions now that we keep only one version in Nixpkgs. - Fix a bug in generate-kde-plasma.sh which prevented it from finding its helper script. - Automatically redirect the output of generate-kde-plasma.sh to make the update script even easier to use.
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
From 46164a50de4102d02ae9d1d480acdd4b12303db8 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Tuegel <ttuegel@gmail.com>
|
|
Date: Wed, 14 Oct 2015 07:07:22 -0500
|
|
Subject: [PATCH] qdiriterator follow symlinks
|
|
|
|
---
|
|
processui/scripting.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/processui/scripting.cpp b/processui/scripting.cpp
|
|
index efed8ff..841761a 100644
|
|
--- a/processui/scripting.cpp
|
|
+++ b/processui/scripting.cpp
|
|
@@ -167,7 +167,7 @@ void Scripting::loadContextMenu() {
|
|
QStringList scripts;
|
|
const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, "ksysguard/scripts/", QStandardPaths::LocateDirectory);
|
|
Q_FOREACH (const QString& dir, dirs) {
|
|
- QDirIterator it(dir, QStringList() << QStringLiteral("*.desktop"), QDir::NoFilter, QDirIterator::Subdirectories);
|
|
+ QDirIterator it(dir, QStringList() << QStringLiteral("*.desktop"), QDir::NoFilter, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks);
|
|
while (it.hasNext()) {
|
|
scripts.append(it.next());
|
|
}
|
|
--
|
|
2.5.2
|
|
|