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())
|
||||
return;
|
||||
|
||||
EditorManager::openEditorAt(m_link.targetFilePath.toString(),
|
||||
m_link.targetLine,
|
||||
m_link.targetColumn);
|
||||
EditorManager::openEditorAt(m_link);
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user