CPoiMapSidebar: Make use of push_back over operator<<

This commit is contained in:
Lioncash 2020-07-10 12:05:52 -04:00
parent cc668e514b
commit c4bf754722
1 changed files with 4 additions and 4 deletions

View File

@ -191,17 +191,17 @@ void CPoiMapSidebar::UpdateModelHighlights()
{
case EHighlightMode::HighlightSelected:
if (kSelection.contains(Index))
SelectedIndices << Index;
SelectedIndices.push_back(Index);
else
UnselectedIndices << Index;
UnselectedIndices.push_back(Index);
break;
case EHighlightMode::HighlightAll:
SelectedIndices << Index;
SelectedIndices.push_back(Index);
break;
case EHighlightMode::HighlightNone:
UnselectedIndices << Index;
UnselectedIndices.push_back(Index);
break;
}
}