MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / onRefreshRemoteDevices

Method onRefreshRemoteDevices

Settings/ProfileConfigTab.cpp:1401–1421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1399}
1400
1401void
1402ProfileConfigTab::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
1423void
1424ProfileConfigTab::onRemoteProfileSelected(void)

Callers

nothing calls this directly

Calls 5

refreshUiStateMethod · 0.95
onRemoteParamsChangedMethod · 0.95

Tested by

no test coverage detected