| 858 | } |
| 859 | |
| 860 | void |
| 861 | ProfileConfigTab::onToggleSourceType(bool) |
| 862 | { |
| 863 | if (!this->refreshing) { |
| 864 | this->configChanged(true); |
| 865 | if (this->ui->sdrRadio->isChecked()) { |
| 866 | this->profile.setType(SUSCAN_SOURCE_TYPE_SDR); |
| 867 | } else { |
| 868 | this->profile.setType(SUSCAN_SOURCE_TYPE_FILE); |
| 869 | this->guessParamsFromFileName(); |
| 870 | } |
| 871 | |
| 872 | this->refreshUiState(); |
| 873 | this->refreshFrequencyLimits(); |
| 874 | } |
| 875 | } |
| 876 | |
| 877 | void |
| 878 | ProfileConfigTab::onDeviceChanged(int index) |
nothing calls this directly
no test coverage detected