forked from qt-creator/qt-creator
Get rid of SshProcess (one process class less)
Introduce static SshRemoteProcess::setupSshEnvironment() method instead. Change-Id: I9a49bc68bd96ddf0f58234d28b92a721f7d4bb56 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
SshRemoteProcessPtr process;
|
||||
DeviceUsedPortsGatherer portsGatherer;
|
||||
SftpTransferPtr sftpTransfer;
|
||||
SshProcess rsyncProcess;
|
||||
Utils::QtcProcess rsyncProcess;
|
||||
State state = Inactive;
|
||||
bool sftpWorks = false;
|
||||
};
|
||||
@@ -67,6 +67,7 @@ using namespace Internal;
|
||||
GenericLinuxDeviceTester::GenericLinuxDeviceTester(QObject *parent)
|
||||
: DeviceTester(parent), d(new GenericLinuxDeviceTesterPrivate)
|
||||
{
|
||||
SshRemoteProcess::setupSshEnvironment(&d->rsyncProcess);
|
||||
}
|
||||
|
||||
GenericLinuxDeviceTester::~GenericLinuxDeviceTester()
|
||||
|
||||
Reference in New Issue
Block a user