CInstancesModel: Make use of push_back over operator<<

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

View File

@ -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);