From 016999de62af9f6b54af161c37a41ad7db1dfb43 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 26 Sep 2024 22:10:11 +0200 Subject: desktop-plasma: Fix KTerminalLauncherJob patch for weltschmerz We forgot the extra space needed to separate weltschmerz from its arguments. Add it here. --- .../kio/0001-Pass-arguments-to-weltschmerz-correctly.patch | 8 ++++---- 1 file 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?= 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 -- cgit v1.2.3-2-gb3c3