diff --git a/src/Editor/WorldEditor/CWorldTreeModel.cpp b/src/Editor/WorldEditor/CWorldTreeModel.cpp index 94d99f2f..03816003 100644 --- a/src/Editor/WorldEditor/CWorldTreeModel.cpp +++ b/src/Editor/WorldEditor/CWorldTreeModel.cpp @@ -8,8 +8,8 @@ CWorldTreeModel::CWorldTreeModel(CWorldEditor *pEditor) { - connect(gpEdApp, SIGNAL(ActiveProjectChanged(CGameProject*)), this, SLOT(OnProjectChanged(CGameProject*))); - connect(pEditor, SIGNAL(MapChanged(CWorld*,CGameArea*)), this, SLOT(OnMapChanged())); + connect(gpEdApp, &CEditorApplication::ActiveProjectChanged, this, &CWorldTreeModel::OnProjectChanged); + connect(pEditor, &CWorldEditor::MapChanged, this, &CWorldTreeModel::OnMapChanged); } int CWorldTreeModel::rowCount(const QModelIndex& rkParent) const