CPoiListDialog: Make use of push_back over operator<<
This commit is contained in:
parent
ec0f912c0c
commit
1bd1998092
|
@ -37,7 +37,7 @@ public:
|
|||
CScriptNode *pNode = pScene->NodeForInstance(*it);
|
||||
|
||||
if (!pMapModel->IsPoiTracked(pNode))
|
||||
mObjList << pNode;
|
||||
mObjList.push_back(pNode);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -129,7 +129,7 @@ public slots:
|
|||
for (const QModelIndex& rkIndex : SelectedIndices)
|
||||
{
|
||||
QModelIndex SourceIndex = mModel.mapToSource(rkIndex);
|
||||
mSelection << mSourceModel.PoiForIndex(SourceIndex);
|
||||
mSelection.push_back(mSourceModel.PoiForIndex(SourceIndex));
|
||||
}
|
||||
|
||||
close();
|
||||
|
|
Loading…
Reference in New Issue