forked from qt-creator/qt-creator
SshRemoteProcessRunner: Unify API
Make the API more similar to QtcProcess API. Rename signals to started() and finished(). Change-Id: I01f3a148749b666b8f145d8769222a234ccc9bce Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -66,7 +66,7 @@ void SshKeyDeployer::deployPublicKey(const SshConnectionParameters &sshParams,
|
||||
|
||||
connect(&d->deployProcess, &SshRemoteProcessRunner::connectionError,
|
||||
this, &SshKeyDeployer::handleConnectionFailure);
|
||||
connect(&d->deployProcess, &SshRemoteProcessRunner::processClosed,
|
||||
connect(&d->deployProcess, &SshRemoteProcessRunner::finished,
|
||||
this, &SshKeyDeployer::handleKeyUploadFinished);
|
||||
const QString command = "test -d .ssh "
|
||||
"|| mkdir -p ~/.ssh && chmod 0700 .ssh && echo '"
|
||||
|
||||
Reference in New Issue
Block a user