forked from qt-creator/qt-creator
SSH: Don't expose SshRemoteProcess object from SshRemoteProcessRunner.
It's part of the internal state. Change-Id: I2670be2d55c791435bd286150f4b4097e8d92f6d Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -91,11 +91,8 @@ void SshKeyDeployer::handleKeyUploadFinished(int exitStatus)
|
||||
|| exitStatus == SshRemoteProcess::KilledBySignal
|
||||
|| exitStatus == SshRemoteProcess::ExitedNormally);
|
||||
|
||||
if (!d->deployProcess.process())
|
||||
return;
|
||||
|
||||
const int exitCode = d->deployProcess.process()->exitCode();
|
||||
const QString errorMsg = d->deployProcess.process()->errorString();
|
||||
const int exitCode = d->deployProcess.processExitCode();
|
||||
const QString errorMsg = d->deployProcess.processErrorString();
|
||||
cleanup();
|
||||
if (exitStatus == SshRemoteProcess::ExitedNormally && exitCode == 0)
|
||||
emit finishedSuccessfully();
|
||||
|
||||
Reference in New Issue
Block a user