forked from qt-creator/qt-creator
Utils: Rename QtcProcess -> Process
Task-number: QTCREATORBUG-29102 Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -659,7 +659,7 @@ void AndroidSettingsWidget::downloadOpenSslRepo(const bool silent)
|
||||
openSslProgressDialog->setFixedSize(openSslProgressDialog->sizeHint());
|
||||
|
||||
const QString openSslRepo("https://github.com/KDAB/android_openssl.git");
|
||||
QtcProcess *gitCloner = new QtcProcess(this);
|
||||
Process *gitCloner = new Process(this);
|
||||
CommandLine gitCloneCommand("git", {"clone", "--depth=1", openSslRepo, openSslPath.toString()});
|
||||
gitCloner->setCommand(gitCloneCommand);
|
||||
|
||||
@@ -684,7 +684,7 @@ void AndroidSettingsWidget::downloadOpenSslRepo(const bool silent)
|
||||
openButton->deleteLater();
|
||||
};
|
||||
|
||||
connect(gitCloner, &QtcProcess::done, this, [=] {
|
||||
connect(gitCloner, &Process::done, this, [=] {
|
||||
openSslProgressDialog->close();
|
||||
if (gitCloner->error() != QProcess::UnknownError) {
|
||||
if (gitCloner->error() == QProcess::FailedToStart) {
|
||||
|
||||
Reference in New Issue
Block a user