mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:10:06 +00:00
Adding impact based warnings to ibw namespace
This commit is contained in:
parent
38a2831779
commit
7101cdf183
6 changed files with 29 additions and 23 deletions
|
|
@ -179,7 +179,7 @@ QWidget* AlertPaletteSettingsWidget::Impl::CreateStackedWidgetPage(
|
|||
page->setLayout(gridLayout);
|
||||
|
||||
const auto& impactBasedWarningInfo =
|
||||
awips::GetImpactBasedWarningInfo(phenomenon);
|
||||
awips::ibw::GetImpactBasedWarningInfo(phenomenon);
|
||||
|
||||
int row = 0;
|
||||
|
||||
|
|
@ -200,13 +200,13 @@ QWidget* AlertPaletteSettingsWidget::Impl::CreateStackedWidgetPage(
|
|||
|
||||
for (auto& category : impactBasedWarningInfo.threatCategories_)
|
||||
{
|
||||
if (category == awips::ThreatCategory::Base)
|
||||
if (category == awips::ibw::ThreatCategory::Base)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
AddPhenomenonLine(
|
||||
awips::GetThreatCategoryName(category), gridLayout, row++);
|
||||
awips::ibw::GetThreatCategoryName(category), gridLayout, row++);
|
||||
}
|
||||
|
||||
AddPhenomenonLine("Inactive", gridLayout, row++);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue