aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scxmleditor
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2017-03-19 20:04:09 +0200
committerOrgad Shaneh <orgads@gmail.com>2017-03-20 08:24:40 +0000
commitf2d8be7c67a40f667b3eb3c478a923e8f8de0113 (patch)
treebddf1f21dc3c1d56117a42510a7fe65250275362 /src/plugins/scxmleditor
parent3ec5a18990dc6ef20ff14f12ec0e5118966db1af (diff)
Scxml: Use Qt5-style connect
Change-Id: I59d0678e109ba778ef5a0b6f2fb8fb75b1aa437a Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Diffstat (limited to 'src/plugins/scxmleditor')
-rw-r--r--src/plugins/scxmleditor/common/stateview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scxmleditor/common/stateview.cpp b/src/plugins/scxmleditor/common/stateview.cpp
index 273749cb0ef..8a310c97fb9 100644
--- a/src/plugins/scxmleditor/common/stateview.cpp
+++ b/src/plugins/scxmleditor/common/stateview.cpp
@@ -89,7 +89,7 @@ void StateView::setDocument(ScxmlDocument *doc)
m_scene->setDocument(doc);
m_ui.m_graphicsView->setDocument(doc);
if (doc)
- connect(doc, SIGNAL(colorThemeChanged()), m_scene, SLOT(invalidate()));
+ connect(doc, &ScxmlDocument::colorThemeChanged, m_scene, [this] { m_scene->invalidate(); });
}
StateItem *StateView::parentState() const