CPoiMapSidebar: Make use of push_back over operator<<
This commit is contained in:
parent
cc668e514b
commit
c4bf754722
|
@ -191,17 +191,17 @@ void CPoiMapSidebar::UpdateModelHighlights()
|
||||||
{
|
{
|
||||||
case EHighlightMode::HighlightSelected:
|
case EHighlightMode::HighlightSelected:
|
||||||
if (kSelection.contains(Index))
|
if (kSelection.contains(Index))
|
||||||
SelectedIndices << Index;
|
SelectedIndices.push_back(Index);
|
||||||
else
|
else
|
||||||
UnselectedIndices << Index;
|
UnselectedIndices.push_back(Index);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EHighlightMode::HighlightAll:
|
case EHighlightMode::HighlightAll:
|
||||||
SelectedIndices << Index;
|
SelectedIndices.push_back(Index);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EHighlightMode::HighlightNone:
|
case EHighlightMode::HighlightNone:
|
||||||
UnselectedIndices << Index;
|
UnselectedIndices.push_back(Index);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue