summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-02-12 20:48:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-02-12 20:48:06 +0900
commit4ce5ad8c3c1fa5a972901232ef2187c857bc89f8 (patch)
treed61642cfcec6294a723cd9cb583ede9a66651d79
parent6949aae9ce625d009008872fe4297638f12fe1ce (diff)
downloadtdebase-4ce5ad8c.zip
tdebase-4ce5ad8c.tar.gz
Fixed handling of KDesktop -> Right click -> Open Terminal Here... when
the terminal application is different from Konsole. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kdesktop/krootwm.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdesktop/krootwm.cc b/kdesktop/krootwm.cc
index c14d132..9c68fc7 100644
--- a/kdesktop/krootwm.cc
+++ b/kdesktop/krootwm.cc
@@ -763,8 +763,8 @@ void KRootWm::slotOpenTerminal()
TDEConfigGroupSaver gs(TDEGlobal::config(), "General");
TQString terminal = TDEGlobal::config()->readPathEntry("TerminalApplication", "konsole");
- *p << terminal << "--workdir=" + TDEGlobalSettings::desktopPath() + "/";
-
+ *p << terminal;
+ p->setWorkingDirectory(TDEGlobalSettings::desktopPath());
p->start(TDEProcess::DontCare);
delete p;