diff options
Diffstat (limited to 'src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp')
-rw-r--r-- | src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp b/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp index 606e136de0..2ff5adedbe 100644 --- a/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp +++ b/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp @@ -34,7 +34,7 @@ StatesEditorModel::StatesEditorModel(StatesEditorView *view) , m_hasExtend(false) , m_extendedStates() { - QObject::connect(this, &StatesEditorModel::dataChanged, [this]() { emit baseStateChanged(); }); + QObject::connect(this, &StatesEditorModel::dataChanged, [this] { emit baseStateChanged(); }); } int StatesEditorModel::count() const @@ -363,7 +363,7 @@ void StatesEditorModel::removeStateGroup() if (m_statesEditorView->activeStatesGroupNode().isRootNode()) return; - m_statesEditorView->executeInTransaction("removeStateGroup", [this]() { + m_statesEditorView->executeInTransaction("removeStateGroup", [this] { m_statesEditorView->activeStatesGroupNode().destroy(); }); } |