diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-02-12 20:48:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-02-12 20:49:41 +0900 |
commit | 651ac2c7bd59d05d4217e9002a6f52d27cc7c406 (patch) | |
tree | 779e08b74dcf3669db400d1b28b8906814cf2d31 /kdesktop/krootwm.cc | |
parent | 4dae99718cca38c24d592492b0d6e55d64bee12c (diff) | |
download | tdebase-651ac2c7bd59d05d4217e9002a6f52d27cc7c406.tar.gz tdebase-651ac2c7bd59d05d4217e9002a6f52d27cc7c406.zip |
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>
(cherry picked from commit 4ce5ad8c3c1fa5a972901232ef2187c857bc89f8)
Diffstat (limited to 'kdesktop/krootwm.cc')
-rw-r--r-- | kdesktop/krootwm.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |