| 541 | } |
| 542 | |
| 543 | bool |
| 544 | PanoramicDialog::getSelectedDevice(Suscan::Source::Device &dev) const |
| 545 | { |
| 546 | std::string name = this->ui->deviceCombo->currentText().toStdString(); |
| 547 | auto p = this->deviceMap.find(name); |
| 548 | |
| 549 | if (p != this->deviceMap.cend()) { |
| 550 | dev = p->second; |
| 551 | return true; |
| 552 | } |
| 553 | |
| 554 | return false; |
| 555 | } |
| 556 | |
| 557 | void |
| 558 | PanoramicDialog::adjustRanges(void) |
no outgoing calls
no test coverage detected