| 1399 | } |
| 1400 | |
| 1401 | void |
| 1402 | ProfileConfigTab::onRefreshRemoteDevices(void) |
| 1403 | { |
| 1404 | Suscan::Singleton *sus = Suscan::Singleton::get_instance(); |
| 1405 | int countBefore = this->ui->remoteDeviceCombo->count(); |
| 1406 | int countAfter; |
| 1407 | |
| 1408 | sus->refreshNetworkProfiles(); |
| 1409 | this->populateRemoteDeviceCombo(); |
| 1410 | |
| 1411 | countAfter = this->ui->remoteDeviceCombo->count(); |
| 1412 | |
| 1413 | if (countAfter > countBefore) { |
| 1414 | this->ui->useNetworkProfileRadio->setChecked(true); |
| 1415 | this->onChangeConnectionType(); |
| 1416 | } else { |
| 1417 | this->refreshUiState(); |
| 1418 | } |
| 1419 | |
| 1420 | this->onRemoteParamsChanged(); |
| 1421 | } |
| 1422 | |
| 1423 | void |
| 1424 | ProfileConfigTab::onRemoteProfileSelected(void) |
nothing calls this directly
no test coverage detected