CEditorApplication: Make use of Qt 5 signals and slots
This commit is contained in:
parent
16ef9988d7
commit
e083526aee
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue