| 1267 | } |
| 1268 | |
| 1269 | void |
| 1270 | SourceWidget::onToggleIQReverse(void) |
| 1271 | { |
| 1272 | this->setIQReverse(this->ui->swapIQCheck->isChecked()); |
| 1273 | |
| 1274 | if (m_analyzer != nullptr) { |
| 1275 | try { |
| 1276 | m_analyzer->setIQReverse(this->panelConfig->iqRev); |
| 1277 | } catch (Suscan::Exception &) { |
| 1278 | (void) QMessageBox::critical( |
| 1279 | this, |
| 1280 | "SigDigger error", |
| 1281 | "Source does not allow reversing the IQ components", |
| 1282 | QMessageBox::Ok); |
| 1283 | } |
| 1284 | } |
| 1285 | } |
| 1286 | |
| 1287 | void |
| 1288 | SourceWidget::onToggleAGCEnabled(void) |
no test coverage detected