diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2017-03-19 20:04:09 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2017-03-20 08:24:40 +0000 |
commit | f2d8be7c67a40f667b3eb3c478a923e8f8de0113 (patch) | |
tree | bddf1f21dc3c1d56117a42510a7fe65250275362 /src/plugins/scxmleditor | |
parent | 3ec5a18990dc6ef20ff14f12ec0e5118966db1af (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.cpp | 2 |
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 |