mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 05:07:06 -04:00
copy some methods from KPty - they are used only here, so they will be
deleted from kdelibs. svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676799
This commit is contained in:
@@ -272,6 +272,7 @@ void Session::run()
|
||||
if (!_initialWorkingDir.isEmpty())
|
||||
QDir::setCurrent(_initialWorkingDir);
|
||||
_shellProcess->setXonXoff(_flowControl);
|
||||
_shellProcess->setErase(_emulation->getErase());
|
||||
|
||||
int result = _shellProcess->start(QFile::encodeName(_program),
|
||||
arguments,
|
||||
@@ -287,7 +288,6 @@ void Session::run()
|
||||
return;
|
||||
//QTimer::singleShot(0, this, SLOT(ptyError()));
|
||||
}
|
||||
_shellProcess->setErase(_emulation->getErase());
|
||||
|
||||
if (!_initialWorkingDir.isEmpty())
|
||||
QDir::setCurrent(cwd_save);
|
||||
|
||||
Reference in New Issue
Block a user