forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user