aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scxmleditor/plugin_interface/stateitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scxmleditor/plugin_interface/stateitem.cpp')
-rw-r--r--src/plugins/scxmleditor/plugin_interface/stateitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scxmleditor/plugin_interface/stateitem.cpp b/src/plugins/scxmleditor/plugin_interface/stateitem.cpp
index 0dc525e644..ec13794ea8 100644
--- a/src/plugins/scxmleditor/plugin_interface/stateitem.cpp
+++ b/src/plugins/scxmleditor/plugin_interface/stateitem.cpp
@@ -43,7 +43,7 @@ StateItem::StateItem(const QPointF &pos, BaseItem *parent)
checkWarningItems();
- connect(m_stateNameItem, &TextItem::selected, this, [=](bool sel){
+ connect(m_stateNameItem, &TextItem::selected, this, [this](bool sel) {
setItemSelected(sel);
});
connect(m_stateNameItem, &TextItem::textChanged, this, &StateItem::updateTextPositions);