Blame SOURCES/kdelibs-4.13.2-invokeTerminal.patch
|
|
219491 |
diff -up kdelibs-4.13.2/kdecore/kernel/ktoolinvocation_x11.cpp.orig kdelibs-4.13.2/kdecore/kernel/ktoolinvocation_x11.cpp
|
|
|
219491 |
--- kdelibs-4.13.2/kdecore/kernel/ktoolinvocation_x11.cpp.orig 2014-07-11 16:54:51.000000000 +0200
|
|
|
219491 |
+++ kdelibs-4.13.2/kdecore/kernel/ktoolinvocation_x11.cpp 2014-07-11 16:57:31.000000000 +0200
|
|
|
219491 |
@@ -412,11 +412,9 @@ void KToolInvocation::invokeTerminal(con
|
|
|
219491 |
// directory before launching them, see below.
|
|
|
219491 |
}
|
|
|
219491 |
|
|
|
219491 |
- QString error;
|
|
|
219491 |
- if (self()->startServiceInternal("kdeinit_exec_with_workdir",
|
|
|
219491 |
- cmd, cmdTokens, &error, 0, NULL, startup_id, false, workdir)) {
|
|
|
219491 |
+ if (!QProcess::startDetached(cmd, cmdTokens)) {
|
|
|
219491 |
KMessage::message(KMessage::Error,
|
|
|
219491 |
- i18n("Could not launch the terminal client:\n\n%1", error),
|
|
|
219491 |
+ i18n("Could not launch the terminal client"),
|
|
|
219491 |
i18n("Could not launch Terminal Client"));
|
|
|
219491 |
}
|
|
|
219491 |
}
|