Editor: directly use the Link overload of openEditorAt

Change-Id: I5e863600159cc54a99fec5a20df8de1fbc3d745f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-05-28 08:52:25 +02:00
parent bf79f1ae38
commit 4445876013

View File

@@ -8701,9 +8701,7 @@ void TextEditorLinkLabel::mouseReleaseEvent(QMouseEvent *event)
if (!m_link.hasValidTarget())
return;
EditorManager::openEditorAt(m_link.targetFilePath.toString(),
m_link.targetLine,
m_link.targetColumn);
EditorManager::openEditorAt(m_link);
}
//