AbstractProcessStep: Merge finish() with processFinished()

Change-Id: Ied15ec3ee9d3bcc80b03b2589d101c65f2fd062a
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2022-12-02 17:37:10 +01:00
parent 6832200313
commit ea35ed9ffe
12 changed files with 42 additions and 50 deletions

View File

@@ -615,10 +615,11 @@ QWidget *AndroidBuildApkStep::createConfigWidget()
return new AndroidBuildApkWidget(this);
}
void AndroidBuildApkStep::processFinished(bool success)
void AndroidBuildApkStep::finish(ProcessResult result)
{
if (m_openPackageLocationForRun && success)
if (m_openPackageLocationForRun && isSuccess(result))
QTimer::singleShot(0, this, &AndroidBuildApkStep::showInGraphicalShell);
AbstractProcessStep::finish(result);
}
bool AndroidBuildApkStep::verifyKeystorePassword()