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

@@ -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);
}
}