diff options
| author | hjk <[email protected]> | 2023-01-20 10:35:45 +0100 |
|---|---|---|
| committer | hjk <[email protected]> | 2023-01-20 12:02:32 +0000 |
| commit | 013ad1345e53fe9a52217a04445a479d90653a8d (patch) | |
| tree | 6ec6bc7609fc74f33bfab92f14d9450502244dfe /src/plugins/git/gitgrep.cpp | |
| parent | 7dd2fe689d284aab152ece6eb8dd385437b9ef60 (diff) | |
VcsBase: Proliferate use of FilePath
... and update user code.
Change-Id: I52c08e9e07238536d31fc72f97312ac582a1e32f
Reviewed-by: Orgad Shaneh <[email protected]>
Diffstat (limited to 'src/plugins/git/gitgrep.cpp')
| -rw-r--r-- | src/plugins/git/gitgrep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitgrep.cpp b/src/plugins/git/gitgrep.cpp index 2f608df7235..6baa635080d 100644 --- a/src/plugins/git/gitgrep.cpp +++ b/src/plugins/git/gitgrep.cpp @@ -285,7 +285,7 @@ IEditor *GitGrep::openEditor(const SearchResultItem &item, const QStringList &itemPath = item.path(); if (params.ref.isEmpty() || itemPath.isEmpty()) return nullptr; - const QString path = QDir::fromNativeSeparators(itemPath.first()); + const FilePath path = FilePath::fromUserInput(itemPath.first()); const FilePath topLevel = FilePath::fromString(parameters.additionalParameters.toString()); IEditor *editor = m_client->openShowEditor(topLevel, params.ref, path, GitClient::ShowEditor::OnlyIfDifferent); |
