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 4ce5ad8c3c)
pull/182/head
Michele Calgaro 4 years ago
parent 4dae99718c
commit 651ac2c7bd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;

Loading…
Cancel
Save