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>
pull/128/head
Michele Calgaro 5 years ago
parent 6949aae9ce
commit 4ce5ad8c3c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -763,8 +763,8 @@ void KRootWm::slotOpenTerminal()
TDEConfigGroupSaver gs(TDEGlobal::config(), "General"); TDEConfigGroupSaver gs(TDEGlobal::config(), "General");
TQString terminal = TDEGlobal::config()->readPathEntry("TerminalApplication", "konsole"); TQString terminal = TDEGlobal::config()->readPathEntry("TerminalApplication", "konsole");
*p << terminal << "--workdir=" + TDEGlobalSettings::desktopPath() + "/"; *p << terminal;
p->setWorkingDirectory(TDEGlobalSettings::desktopPath());
p->start(TDEProcess::DontCare); p->start(TDEProcess::DontCare);
delete p; delete p;

Loading…
Cancel
Save