From ec0f912c0c34d8282b0aaf2b7c9060fc0eb8ccb7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 10 Jul 2020 16:12:13 -0400 Subject: [PATCH] CInstancesModel: Make use of push_back over operator<< --- src/Editor/WorldEditor/CInstancesModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/WorldEditor/CInstancesModel.cpp b/src/Editor/WorldEditor/CInstancesModel.cpp index 1536bf91..30298d4f 100644 --- a/src/Editor/WorldEditor/CInstancesModel.cpp +++ b/src/Editor/WorldEditor/CInstancesModel.cpp @@ -32,7 +32,7 @@ CInstancesModel::CInstancesModel(CWorldEditor *pEditor, QObject *pParent) , mpEditor(pEditor) , mpScene(pEditor->Scene()) { - mBaseItems << "Script"; + mBaseItems.push_back(QStringLiteral("Script")); connect(gpEdApp, &CEditorApplication::ActiveProjectChanged, this, &CInstancesModel::OnActiveProjectChanged); connect(mpEditor, &CWorldEditor::MapChanged, this, &CInstancesModel::OnMapChange);