CPoiListDialog: Make use of push_back over operator<<

This commit is contained in:
Lioncash 2020-07-10 16:12:49 -04:00
parent ec0f912c0c
commit 1bd1998092
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ public:
CScriptNode *pNode = pScene->NodeForInstance(*it); CScriptNode *pNode = pScene->NodeForInstance(*it);
if (!pMapModel->IsPoiTracked(pNode)) if (!pMapModel->IsPoiTracked(pNode))
mObjList << pNode; mObjList.push_back(pNode);
} }
} }
@ -129,7 +129,7 @@ public slots:
for (const QModelIndex& rkIndex : SelectedIndices) for (const QModelIndex& rkIndex : SelectedIndices)
{ {
QModelIndex SourceIndex = mModel.mapToSource(rkIndex); QModelIndex SourceIndex = mModel.mapToSource(rkIndex);
mSelection << mSourceModel.PoiForIndex(SourceIndex); mSelection.push_back(mSourceModel.PoiForIndex(SourceIndex));
} }
close(); close();