summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Müller2024-09-26 22:10:11 +0200
committerWolfgang Müller2024-09-26 22:10:11 +0200
commit016999de62af9f6b54af161c37a41ad7db1dfb43 (patch)
tree59538cae435847b487439e1b414e35a74eeab396
parentb259e1a0fb145d5c2681fc3efcaa653ddbc88d12 (diff)
downloadportage-roles-016999de62af9f6b54af161c37a41ad7db1dfb43.tar.gz
desktop-plasma: Fix KTerminalLauncherJob patch for weltschmerz
We forgot the extra space needed to separate weltschmerz from its arguments. Add it here.
-rw-r--r--desktop-plasma/patches/kde-frameworks/kio/0001-Pass-arguments-to-weltschmerz-correctly.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop-plasma/patches/kde-frameworks/kio/0001-Pass-arguments-to-weltschmerz-correctly.patch b/desktop-plasma/patches/kde-frameworks/kio/0001-Pass-arguments-to-weltschmerz-correctly.patch
index b7e19fb..087c21b 100644
--- a/desktop-plasma/patches/kde-frameworks/kio/0001-Pass-arguments-to-weltschmerz-correctly.patch
+++ b/desktop-plasma/patches/kde-frameworks/kio/0001-Pass-arguments-to-weltschmerz-correctly.patch
@@ -1,4 +1,4 @@
-From 532a7c03a4c5cc26a1f06ce4882b1d2010b6c44d Mon Sep 17 00:00:00 2001
+From 5dee62540628f2bebbe783bae0cf5a564d1c333f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Wolfgang=20M=C3=BCller?= <wolf@oriole.systems>
Date: Tue, 10 Sep 2024 23:11:02 +0200
Subject: [PATCH] Pass arguments to weltschmerz correctly
@@ -34,7 +34,7 @@ index 63c924737..b2851077e 100644
KShell::Errors err;
diff --git a/src/gui/kterminallauncherjob.cpp b/src/gui/kterminallauncherjob.cpp
-index edd99327b..beb80b090 100644
+index edd99327b..1feca99c3 100644
--- a/src/gui/kterminallauncherjob.cpp
+++ b/src/gui/kterminallauncherjob.cpp
@@ -136,7 +136,11 @@ void KTerminalLauncherJob::determineFullCommand(bool fallbackToKonsoleService /*
@@ -43,7 +43,7 @@ index edd99327b..beb80b090 100644
if (!d->m_command.isEmpty()) {
- exec += QLatin1String(" -e ") + d->m_command;
+ if (exec == QLatin1String("weltschmerz")) {
-+ exec += d->m_command;
++ exec += QLatin1String(" ") + d->m_command;
+ } else {
+ exec += QLatin1String(" -e ") + d->m_command;
+ }
@@ -51,5 +51,5 @@ index edd99327b..beb80b090 100644
#else
const QString windowsTerminal = QStringLiteral("wt.exe");
--
-2.46.0
+2.46.2