forked from qt-creator/qt-creator
Editor: directly use the Link overload of openEditorAt
Change-Id: I5e863600159cc54a99fec5a20df8de1fbc3d745f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -8701,9 +8701,7 @@ void TextEditorLinkLabel::mouseReleaseEvent(QMouseEvent *event)
|
|||||||
if (!m_link.hasValidTarget())
|
if (!m_link.hasValidTarget())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
EditorManager::openEditorAt(m_link.targetFilePath.toString(),
|
EditorManager::openEditorAt(m_link);
|
||||||
m_link.targetLine,
|
|
||||||
m_link.targetColumn);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user