| 551 | } |
| 552 | |
| 553 | void |
| 554 | SourceWidget::selectAntenna(std::string const &name) |
| 555 | { |
| 556 | int index; |
| 557 | QString qNam = QString::fromStdString(name); |
| 558 | |
| 559 | if ((index = this->ui->antennaCombo->findText(qNam)) == -1) { |
| 560 | index = this->ui->antennaCombo->count(); |
| 561 | this->ui->antennaCombo->addItem(qNam); |
| 562 | } |
| 563 | |
| 564 | this->ui->antennaCombo->setCurrentIndex(index); |
| 565 | } |
| 566 | |
| 567 | void |
| 568 | SourceWidget::setSampleRate(unsigned int rate) |
no outgoing calls
no test coverage detected