Commit 172ea7aa authored by Tim Jenssen's avatar Tim Jenssen Committed by Thomas Hartmann

QmlDesigner: avoid unused warning in release

Change-Id: I6213fd3555b28b14d23453c24b94acef5baeaf3a
Reviewed-by: default avatarThomas Hartmann <>
parent 9551e0a1
......@@ -317,6 +317,7 @@ void DesignModeWidget::setup()
connect(, &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