Adding impact based warnings to ibw namespace

This commit is contained in:
Dan Paulat 2024-09-16 21:13:45 -05:00
parent 38a2831779
commit 7101cdf183
6 changed files with 29 additions and 23 deletions

View file

@ -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++);