forked from qt-creator/qt-creator
Core: Use Utils::Link for openEditorAt
Change-Id: I246e06b11b4f32f46d7f3ec93df81bcc676aebbe Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -6254,11 +6254,7 @@ bool TextEditorWidget::openLink(const Utils::Link &link, bool inNextSplit)
|
||||
if (inNextSplit)
|
||||
flags |= EditorManager::OpenInOtherSplit;
|
||||
|
||||
return EditorManager::openEditorAt(link.targetFilePath,
|
||||
link.targetLine,
|
||||
link.targetColumn,
|
||||
Id(),
|
||||
flags);
|
||||
return EditorManager::openEditorAt(link, Id(), flags);
|
||||
}
|
||||
|
||||
bool TextEditorWidgetPrivate::isMouseNavigationEvent(QMouseEvent *e) const
|
||||
|
||||
Reference in New Issue
Block a user