Utils: filepathify Link

Change-Id: Ie62500bde139158e776f9698ee0ea00c2a113f93
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
David Schulz
2021-05-25 10:11:31 +02:00
parent dbd4a10d6f
commit 356bfcc9fd
24 changed files with 76 additions and 59 deletions

View File

@@ -105,5 +105,5 @@ void NimTextEditorWidget::onFindLinkFinished()
}
const Line &line = m_request->lines().front();
m_callback(Utils::Link{line.abs_path, line.row, line.column});
m_callback(Utils::Link{Utils::FilePath::fromString(line.abs_path), line.row, line.column});
}