forked from qt-creator/qt-creator
Get rid of SshRemoteProcess
It's being replaced by QtcProcess with path on device. Change-Id: I29eb038d1b17151683f86855eb547e47f7f7dea5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
|
||||
#include "sftptransfer.h"
|
||||
#include "sshlogging_p.h"
|
||||
#include "sshremoteprocess.h"
|
||||
#include "sshsettings.h"
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
@@ -286,18 +285,6 @@ SshConnection::~SshConnection()
|
||||
delete d;
|
||||
}
|
||||
|
||||
SshRemoteProcessPtr SshConnection::createRemoteProcess(const QString &command)
|
||||
{
|
||||
QTC_ASSERT(state() == Connected, return SshRemoteProcessPtr());
|
||||
return SshRemoteProcessPtr(new SshRemoteProcess(command,
|
||||
d->connectionArgs(SshSettings::sshFilePath())));
|
||||
}
|
||||
|
||||
SshRemoteProcessPtr SshConnection::createRemoteShell()
|
||||
{
|
||||
return createRemoteProcess({});
|
||||
}
|
||||
|
||||
SftpTransferPtr SshConnection::createUpload(const FilesToTransfer &files,
|
||||
FileTransferErrorHandling errorHandlingMode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user