From 1bd199809299037615a622d564bd3206ba768f32 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 10 Jul 2020 16:12:49 -0400 Subject: [PATCH] CPoiListDialog: Make use of push_back over operator<< --- src/Editor/WorldEditor/CPoiListDialog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Editor/WorldEditor/CPoiListDialog.h b/src/Editor/WorldEditor/CPoiListDialog.h index f150f978..6ca19915 100644 --- a/src/Editor/WorldEditor/CPoiListDialog.h +++ b/src/Editor/WorldEditor/CPoiListDialog.h @@ -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();