forked from qt-creator/qt-creator
QmlDesigner: Fix compile with Qt5.5
Change-Id: Ib1ec04cb9baf4d936d73ceb0d80268aad882368b Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
committed by
Tim Jenssen
parent
221f59e152
commit
e4b2842bf8
@@ -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);
|
||||
|
Reference in New Issue
Block a user