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:
@@ -48,7 +48,8 @@ class RsyncDeployService : public AbstractRemoteLinuxDeployService
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
RsyncDeployService(QObject *parent = nullptr) : AbstractRemoteLinuxDeployService(parent) {}
|
||||
RsyncDeployService(QObject *parent = nullptr) : AbstractRemoteLinuxDeployService(parent)
|
||||
{ SshRemoteProcess::setupSshEnvironment(&m_rsync); }
|
||||
|
||||
void setDeployableFiles(const QList<DeployableFile> &files) { m_deployableFiles = files; }
|
||||
void setIgnoreMissingFiles(bool ignore) { m_ignoreMissingFiles = ignore; }
|
||||
@@ -69,7 +70,7 @@ private:
|
||||
mutable QList<DeployableFile> m_deployableFiles;
|
||||
bool m_ignoreMissingFiles = false;
|
||||
QString m_flags;
|
||||
SshProcess m_rsync;
|
||||
QtcProcess m_rsync;
|
||||
SshRemoteProcessPtr m_mkdir;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user