forked from qt-creator/qt-creator
Utils: filepathify Link
Change-Id: Ie62500bde139158e776f9698ee0ea00c2a113f93 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -267,8 +267,9 @@ void TestNavigationWidget::onItemActivated(const QModelIndex &index)
|
||||
{
|
||||
const Utils::Link link = index.data(LinkRole).value<Utils::Link>();
|
||||
if (link.hasValidTarget()) {
|
||||
Core::EditorManager::openEditorAt(link.targetFileName, link.targetLine,
|
||||
link.targetColumn);
|
||||
Core::EditorManager::openEditorAt(link.targetFilePath,
|
||||
link.targetLine,
|
||||
link.targetColumn);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user