Ssh: Drop ProcessMode from c'tors and creator methods

Change-Id: I2db51f26d9a841f60d5ab3722fa82b3a89d57146
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-02-18 10:06:56 +01:00
parent a056aa8f95
commit 97264e0591
9 changed files with 17 additions and 24 deletions

View File

@@ -209,8 +209,8 @@ public:
// connect to it
// wait for connected
m_shell = new SshRemoteProcess("/bin/sh",
parameters.connectionOptions(SshSettings::sshFilePath()) << parameters.host(),
ProcessMode::Writer);
parameters.connectionOptions(SshSettings::sshFilePath()) << parameters.host());
m_shell->setProcessMode(ProcessMode::Writer);
m_shell->start();
const bool startOK = m_shell->waitForStarted();
if (!startOK)