MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / onStatusMessage

Method onStatusMessage

App/Application.cpp:506–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504}
505
506void
507Application::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
520void
521Application::onAnalyzerParams(const Suscan::AnalyzerParams &params)

Callers

nothing calls this directly

Calls 3

getCodeMethod · 0.80
getMessageMethod · 0.80
setStatusMessageMethod · 0.80

Tested by

no test coverage detected