mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:00:05 +00:00
removed unneeded comment
This commit is contained in:
parent
1f6e5b7bef
commit
ea23986ead
1 changed files with 0 additions and 21 deletions
|
|
@ -1208,27 +1208,6 @@ void SettingsDialogImpl::SetupAudioTab()
|
|||
self_->ui->alertAudioWFOComboBox->addItem(
|
||||
QString::fromStdString(pair.first));
|
||||
}
|
||||
/*
|
||||
alertAudioWFO_.SetMapFromValueFunction([](const std::string& value) -> std::string {
|
||||
if (value == "") {
|
||||
return "";
|
||||
}
|
||||
return config::CountyDatabase::GetWFOs().at(value);
|
||||
});
|
||||
alertAudioWFO_.SetMapToValueFunction([](const std::string& value) -> std::string {
|
||||
if (value == "") {
|
||||
return "";
|
||||
}
|
||||
for (const auto& pair : config::CountyDatabase::GetWFOs())
|
||||
{
|
||||
if (value == pair.second)
|
||||
{
|
||||
return pair.first;
|
||||
}
|
||||
}
|
||||
|
||||
return "";
|
||||
});*/
|
||||
alertAudioWFO_.SetEditWidget(self_->ui->alertAudioWFOComboBox);
|
||||
alertAudioWFO_.SetResetButton(self_->ui->resetAlertAudioWFOButton);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue