| 582 | } |
| 583 | |
| 584 | void |
| 585 | Application::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 | |
| 599 | void |
| 600 | Application::onFrequencyChanged(qint64 freq, qint64 lnb) |
nothing calls this directly
no test coverage detected