CEditorApplication: Make use of Qt 5 signals and slots

This commit is contained in:
Lioncash 2020-07-03 08:05:47 -04:00
parent 16ef9988d7
commit e083526aee
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ bool CEditorApplication::RebuildResourceDatabase()
void CEditorApplication::AddEditor(IEditor *pEditor)
{
mEditorWindows << pEditor;
connect(pEditor, SIGNAL(Closed()), this, SLOT(OnEditorClose()));
connect(pEditor, &IEditor::Closed, this, &CEditorApplication::OnEditorClose);
}
void CEditorApplication::TickEditors()