From 4ce5ad8c3c1fa5a972901232ef2187c857bc89f8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Feb 2020 20:48:06 +0900 Subject: Fixed handling of KDesktop -> Right click -> Open Terminal Here... when the terminal application is different from Konsole. Signed-off-by: Michele Calgaro --- kdesktop/krootwm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kdesktop/krootwm.cc') diff --git a/kdesktop/krootwm.cc b/kdesktop/krootwm.cc index c14d1326c..9c68fc740 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; -- cgit v1.2.1