diff --git a/src/Editor/IEditor.cpp b/src/Editor/IEditor.cpp index 90548dd8..4ecaa837 100644 --- a/src/Editor/IEditor.cpp +++ b/src/Editor/IEditor.cpp @@ -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()