forked from qt-creator/qt-creator
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:
@@ -294,18 +294,15 @@ void QMakeStep::setForced(bool b)
|
||||
m_forced = b;
|
||||
}
|
||||
|
||||
void QMakeStep::processFinished(bool success)
|
||||
void QMakeStep::finish(ProcessResult result)
|
||||
{
|
||||
if (!success)
|
||||
m_needToRunQMake = true;
|
||||
emit buildConfiguration()->buildDirectoryInitialized();
|
||||
}
|
||||
if (result != ProcessResult::StartFailed)
|
||||
emit buildConfiguration()->buildDirectoryInitialized();
|
||||
|
||||
void QMakeStep::finish(bool success)
|
||||
{
|
||||
if (!success)
|
||||
if (result != ProcessResult::FinishedWithSuccess)
|
||||
m_needToRunQMake = true;
|
||||
m_wasSuccess = success;
|
||||
|
||||
m_wasSuccess = isSuccess(result);
|
||||
runNextCommand();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user