Called once all pip groups have finished. If no post-install steps are configured, immediately emits the terminal InstallFinished. Otherwise enters the RunningPostInstall state and kicks off the first step.
| 656 | // configured, immediately emits the terminal InstallFinished. Otherwise |
| 657 | // enters the RunningPostInstall state and kicks off the first step. |
| 658 | void QmitkPipInstaller::BeginPostInstallPhase() |
| 659 | { |
| 660 | if (m_Spec.postInstallSteps.empty()) |
| 661 | { |
| 662 | m_State = m_AnyFailed ? State::Failed : State::Done; |
| 663 | emit InstallFinished(!m_AnyFailed); |
| 664 | return; |
| 665 | } |
| 666 | |
| 667 | m_State = State::RunningPostInstall; |
| 668 | m_CurrentPostInstallStep = 0; |
| 669 | this->StartPostInstallStep(); |
| 670 | } |
| 671 | |
| 672 | void QmitkPipInstaller::StartPostInstallStep() |
| 673 | { |
no test coverage detected