SshRemoteProcessRunner: Unify API

Make the API more similar to QtcProcess API.
Drop process prefix for getters.

Change-Id: I21b99bb5b11956d923c0e526c08bbea9686e5c95
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Jarek Kobus
2022-02-28 16:12:12 +01:00
parent b7abe6a6ac
commit d3c1632a0f
10 changed files with 36 additions and 36 deletions

View File

@@ -201,7 +201,7 @@ void QnxDeployQtLibrariesDialog::handleRemoteProcessCompleted()
if (m_state == CheckingRemoteDirectory) {
// Directory exists
if (m_processRunner->processExitCode() == 0) {
if (m_processRunner->exitCode() == 0) {
int answer = QMessageBox::question(this, windowTitle(),
tr("The remote directory \"%1\" already exists. "
"Deploying to that directory will remove any files "
@@ -217,7 +217,7 @@ void QnxDeployQtLibrariesDialog::handleRemoteProcessCompleted()
startUpload();
}
} else if (m_state == RemovingRemoteDirectory) {
QTC_ASSERT(m_processRunner->processExitCode() == 0, return);
QTC_ASSERT(m_processRunner->exitCode() == 0, return);
startUpload();
}