forked from qt-creator/qt-creator
Move setupSshEnvironment() into SshConnectionParameters
As we are going to remove SshRemoteProcess. Change-Id: I07cf246791f1adb6cfc454935d7e330c2f1d4dc7 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -29,12 +29,12 @@
|
||||
#include "rsyncdeploystep.h"
|
||||
|
||||
#include <projectexplorer/devicesupport/deviceusedportsgatherer.h>
|
||||
#include <utils/port.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <ssh/sftptransfer.h>
|
||||
#include <ssh/sshremoteprocess.h>
|
||||
#include <ssh/sshconnection.h>
|
||||
#include <ssh/sshconnectionmanager.h>
|
||||
#include <utils/port.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/qtcprocess.h>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
using namespace QSsh;
|
||||
@@ -72,7 +72,7 @@ GenericLinuxDeviceTester::GenericLinuxDeviceTester(QObject *parent)
|
||||
&GenericLinuxDeviceTester::handleUnameFinished);
|
||||
connect(&d->rsyncProcess, &QtcProcess::done, this,
|
||||
&GenericLinuxDeviceTester::handleRsyncFinished);
|
||||
SshRemoteProcess::setupSshEnvironment(&d->rsyncProcess);
|
||||
SshConnectionParameters::setupSshEnvironment(&d->rsyncProcess);
|
||||
}
|
||||
|
||||
GenericLinuxDeviceTester::~GenericLinuxDeviceTester()
|
||||
|
||||
Reference in New Issue
Block a user