IEditor: Make use of Qt 5 signals and slots

This commit is contained in:
Lioncash 2020-07-03 07:02:15 -04:00
parent 694f4ce03b
commit bc09727429
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ IEditor::IEditor(QWidget* pParent)
mUndoActions.push_back(pUndoAction);
mUndoActions.push_back(pRedoAction);
connect(&mUndoStack, SIGNAL(indexChanged(int)), this, SLOT(OnUndoStackIndexChanged()));
connect(&mUndoStack, &QUndoStack::indexChanged, this, &IEditor::OnUndoStackIndexChanged);
}
QUndoStack& IEditor::UndoStack()