| 389 | } |
| 390 | |
| 391 | void QmitkPipInstallDialog::SetTerminalStatus(const QString& text) |
| 392 | { |
| 393 | // The first specific terminal message wins. This lets OnErrorOccurred |
| 394 | // publish a precise cause (e.g. "Python executable not found") without |
| 395 | // the subsequent OnInstallFinished(false) overwriting it with the |
| 396 | // generic fallback. Reset in SetUiInstalling so retries can publish a |
| 397 | // new terminal message. |
| 398 | if (m_TerminalStatusSet) |
| 399 | return; |
| 400 | |
| 401 | m_Ui->statusLabel->setText(text); |
| 402 | m_TerminalStatusSet = true; |
| 403 | } |
| 404 | |
| 405 | void QmitkPipInstallDialog::SetUiFinished(bool success) |
| 406 | { |
no test coverage detected