mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-12 06:45:12 +00:00
CPoiMapModel: Make use of in-class initializers where applicable
This commit is contained in:
@@ -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*)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user