Commit e4b2842b authored by Christian Stenger's avatar Christian Stenger Committed by Tim Jenssen

QmlDesigner: Fix compile with Qt5.5

Change-Id: Ib1ec04cb9baf4d936d73ceb0d80268aad882368b
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent 221f59e1
......@@ -315,7 +315,7 @@ void DesignModeWidget::setup()
// warning frame should be not in layout, but still child of the widget
m_warningWidget = new DocumentWarningWidget(this);
m_warningWidget->setVisible(false);
connect(m_warningWidget, &DocumentWarningWidget::gotoCodeClicked, [=]
connect(m_warningWidget.data(), &DocumentWarningWidget::gotoCodeClicked, [=]
(const QString &filePath, int codeLine, int codeColumn) {
Q_ASSERT(textEditor()->textDocument()->filePath().toString() == filePath);
textEditor()->gotoLine(codeLine, codeColumn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment