CInstancesModel: Make use of push_back over operator<<
This commit is contained in:
parent
6de158fae6
commit
ec0f912c0c
|
@ -32,7 +32,7 @@ CInstancesModel::CInstancesModel(CWorldEditor *pEditor, QObject *pParent)
|
||||||
, mpEditor(pEditor)
|
, mpEditor(pEditor)
|
||||||
, mpScene(pEditor->Scene())
|
, mpScene(pEditor->Scene())
|
||||||
{
|
{
|
||||||
mBaseItems << "Script";
|
mBaseItems.push_back(QStringLiteral("Script"));
|
||||||
|
|
||||||
connect(gpEdApp, &CEditorApplication::ActiveProjectChanged, this, &CInstancesModel::OnActiveProjectChanged);
|
connect(gpEdApp, &CEditorApplication::ActiveProjectChanged, this, &CInstancesModel::OnActiveProjectChanged);
|
||||||
connect(mpEditor, &CWorldEditor::MapChanged, this, &CInstancesModel::OnMapChange);
|
connect(mpEditor, &CWorldEditor::MapChanged, this, &CInstancesModel::OnMapChange);
|
||||||
|
|
Loading…
Reference in New Issue