| 504 | } |
| 505 | |
| 506 | void |
| 507 | Application::onStatusMessage(const Suscan::StatusMessage &message) |
| 508 | { |
| 509 | if (message.getCode() == SUSCAN_ANALYZER_INIT_FAILURE) { |
| 510 | (void) QMessageBox::critical( |
| 511 | this, |
| 512 | "Analyzer initialization", |
| 513 | "Initialization failed: " + message.getMessage(), |
| 514 | QMessageBox::Ok); |
| 515 | } else { |
| 516 | this->mediator->setStatusMessage(message.getMessage()); |
| 517 | } |
| 518 | } |
| 519 | |
| 520 | void |
| 521 | Application::onAnalyzerParams(const Suscan::AnalyzerParams ¶ms) |
nothing calls this directly
no test coverage detected