forked from qt-creator/qt-creator
ScxmlEditor: Fix compile with Qt5.6
Change-Id: I07ed1737b9a72338aa74aab0c6277df414d95cb5 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -313,8 +313,8 @@ void GraphicsScene::setDocument(ScxmlDocument *document)
|
||||
void GraphicsScene::connectDocument()
|
||||
{
|
||||
if (m_document) {
|
||||
connect(m_document, &ScxmlDocument::beginTagChange, this, &GraphicsScene::beginTagChange);
|
||||
connect(m_document, &ScxmlDocument::endTagChange, this, &GraphicsScene::endTagChange);
|
||||
connect(m_document.data(), &ScxmlDocument::beginTagChange, this, &GraphicsScene::beginTagChange);
|
||||
connect(m_document.data(), &ScxmlDocument::endTagChange, this, &GraphicsScene::endTagChange);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user