CPoiMapModel: Make use of in-class initializers where applicable

This commit is contained in:
Lioncash
2020-06-28 04:29:46 -04:00
parent 51ba13f988
commit a9292c1b29
2 changed files with 7 additions and 8 deletions

View File

@@ -4,11 +4,9 @@
#include <Core/Scene/CSceneIterator.h>
#include <Core/ScriptExtra/CPointOfInterestExtra.h>
CPoiMapModel::CPoiMapModel(CWorldEditor *pEditor, QObject *pParent /*= 0*/)
CPoiMapModel::CPoiMapModel(CWorldEditor *pEditor, QObject *pParent)
: QAbstractListModel(pParent)
, mpEditor(pEditor)
, mpArea(nullptr)
, mpPoiToWorld(nullptr)
{
connect(pEditor, SIGNAL(MapChanged(CWorld*,CGameArea*)), this, SLOT(OnMapChange(CWorld*,CGameArea*)));
}