forked from qt-creator/qt-creator
QmlDesigner: avoid unused warning in release
Change-Id: I6213fd3555b28b14d23453c24b94acef5baeaf3a Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
9551e0a16a
commit
172ea7aa6d
@@ -317,6 +317,7 @@ void DesignModeWidget::setup()
|
||||
m_warningWidget->setVisible(false);
|
||||
connect(m_warningWidget.data(), &DocumentWarningWidget::gotoCodeClicked, [=]
|
||||
(const QString &filePath, int codeLine, int codeColumn) {
|
||||
Q_UNUSED(filePath);
|
||||
Q_ASSERT(textEditor()->textDocument()->filePath().toString() == filePath);
|
||||
textEditor()->gotoLine(codeLine, codeColumn);
|
||||
Core::ModeManager::activateMode(Core::Constants::MODE_EDIT);
|
||||
|
Reference in New Issue
Block a user