ScxmlEditor: Fix compile with Qt5.6

Change-Id: I07ed1737b9a72338aa74aab0c6277df414d95cb5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Christian Stenger
2016-09-19 07:48:42 +02:00
parent 055c940ea9
commit 950b665741
7 changed files with 16 additions and 16 deletions

View File

@@ -49,7 +49,7 @@ void ShapesToolbox::setUIFactory(ScxmlEditor::PluginInterface::ScxmlUiFactory *f
QTC_ASSERT(factory, return);
m_shapeProvider = static_cast<PluginInterface::ShapeProvider*>(factory->object("shapeProvider"));
connect(m_shapeProvider, &PluginInterface::ShapeProvider::changed, this, &ShapesToolbox::initView);
connect(m_shapeProvider.data(), &PluginInterface::ShapeProvider::changed, this, &ShapesToolbox::initView);
initView();
}