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

Method onProfileChanged

App/Application.cpp:584–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584void
585Application::onProfileChanged(bool needsRestart)
586{
587 if (this->mediator->getProfile()->label() != "") {
588 Suscan::Singleton *sing = Suscan::Singleton::get_instance();
589 sing->notifyRecent(this->mediator->getProfile()->label());
590 this->updateRecent();
591 }
592
593 if (needsRestart)
594 this->restartCapture();
595 else if (this->mediator->getState() == UIMediator::RUNNING)
596 this->hotApplyProfile(this->mediator->getProfile());
597}
598
599void
600Application::onFrequencyChanged(qint64 freq, qint64 lnb)

Callers

nothing calls this directly

Calls 7

updateRecentMethod · 0.95
restartCaptureMethod · 0.95
hotApplyProfileMethod · 0.95
labelMethod · 0.80
notifyRecentMethod · 0.80
getProfileMethod · 0.45
getStateMethod · 0.45

Tested by

no test coverage detected