forked from qt-creator/qt-creator
QtcProcess: Get rid of useTerminal
Remove SshRemoteProcessRunner::runInTerminal() method,
it wasn't used anywhere (just in test).
Remove QtcProcess::useTerminal, as process should be
created in TerminalOn mode when there is a need for terminal.
Add a parameter to
SshRemoteProcess::fullLocalCommandLine(bool inTerminal)
as this may still be needed when running application
through ssh from terminal (ssh -tt option).
Change-Id: I71911082fcca190b82a1106a2ca1ca48dc5d4c79
Reviewed-by: hjk <hjk@qt.io>
(cherry picked from commit 95a9b22f6f)
This commit is contained in:
@@ -260,9 +260,6 @@ public:
|
||||
void setUnixTerminalDisabled() { m_unixTerminalDisabled = true; }
|
||||
bool isUnixTerminalDisabled() const { return m_unixTerminalDisabled; }
|
||||
|
||||
void setUseTerminal(bool on) { m_useTerminal = on; }
|
||||
bool useTerminal() const { return m_useTerminal; }
|
||||
|
||||
void setAbortOnMetaChars(bool abort) { m_abortOnMetaChars = abort; }
|
||||
bool isAbortOnMetaChars() const { return m_abortOnMetaChars; }
|
||||
|
||||
@@ -289,7 +286,6 @@ private:
|
||||
QString m_nativeArguments;
|
||||
bool m_lowPriority = false;
|
||||
bool m_unixTerminalDisabled = false;
|
||||
bool m_useTerminal = false;
|
||||
bool m_abortOnMetaChars = true;
|
||||
bool m_runAsRoot = false;
|
||||
};
|
||||
@@ -908,16 +904,6 @@ void QtcProcess::setDisableUnixTerminal()
|
||||
d->m_process->setUnixTerminalDisabled();
|
||||
}
|
||||
|
||||
void QtcProcess::setUseTerminal(bool on)
|
||||
{
|
||||
d->m_process->setUseTerminal(on);
|
||||
}
|
||||
|
||||
bool QtcProcess::useTerminal() const
|
||||
{
|
||||
return d->m_process->useTerminal();
|
||||
}
|
||||
|
||||
void QtcProcess::setAbortOnMetaChars(bool abort)
|
||||
{
|
||||
d->m_process->setAbortOnMetaChars(abort);
|
||||
|
||||
Reference in New Issue
Block a user