summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-12-14 15:11:17 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-12-14 15:11:40 +0100
commit4ab9478499a1eec742e7cfe60ca23525256bded3 (patch)
treecb024e2663c4e866ede40ec9918329cb7fcd0f87 /kde-plasma/plasma-workspace
parentdev-python/qtconsole: re-enable py3.10 (diff)
downloadgentoo-4ab9478499a1eec742e7cfe60ca23525256bded3.tar.gz
gentoo-4ab9478499a1eec742e7cfe60ca23525256bded3.tar.bz2
gentoo-4ab9478499a1eec742e7cfe60ca23525256bded3.zip
kde-plasma/plasma-workspace: Re-add accidentally removed patch
Thanks-to: Ionen Wolkens <ionen@gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/plasma-workspace')
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch
new file mode 100644
index 000000000000..27db136c2949
--- /dev/null
+++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch
@@ -0,0 +1,30 @@
+Commit 7ca34e0baa7fa65efc929eee5b6b0c3d2104db8e already reverted one
+change that caused the cwd of all apps spawned by krunner to
+erroneously be set to the root dir.
+
+That regressions is back so it's more robust to fix in within krunner.
+
+Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
+---
+ krunner/main.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/krunner/main.cpp b/krunner/main.cpp
+index 4593687ca..fa4a62ac4 100644
+--- a/krunner/main.cpp
++++ b/krunner/main.cpp
+@@ -12,6 +12,7 @@
+ #include <QDBusConnection>
+ #include <QDBusMessage>
+ #include <QDebug>
++#include <QDir>
+ #include <QQuickWindow>
+ #include <QSessionManager>
+ #include <QUrl>
+@@ -112,5 +113,6 @@ int main(int argc, char **argv)
+ }
+ });
+
++ QDir::setCurrent(QDir::homePath());
+ return app.exec();
+ }