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

Method onLoadProfileClicked

Settings/ProfileConfigTab.cpp:847–858  ·  view source on GitHub ↗

/////////// Slots //////////////////

Source from the content-addressed store, hash-verified

845
846//////////////// Slots //////////////////
847void
848ProfileConfigTab::onLoadProfileClicked(void)
849{
850 QVariant data = this->ui->profileCombo->itemData(this->ui->profileCombo->currentIndex());
851
852 if (this->shouldDisregardTweaks()) {
853 this->configChanged(true);
854 this->profile = data.value<Suscan::Source::Config>();
855 }
856
857 this->refreshUi();
858}
859
860void
861ProfileConfigTab::onToggleSourceType(bool)

Callers

nothing calls this directly

Calls 3

shouldDisregardTweaksMethod · 0.95
configChangedMethod · 0.95
refreshUiMethod · 0.95

Tested by

no test coverage detected