diff options
author | Wang Fei <wangfeia@uniontech.com> | 2021-10-13 09:37:43 +0800 |
---|---|---|
committer | Wang Fei <wangfeia@uniontech.com> | 2021-11-03 00:42:50 +0800 |
commit | 62c2d990f90ec999de694c5ccf7c7e14d8965052 (patch) | |
tree | b9fe68fa1a2151c2317a47e3ab099439b88463bc /src/corelib/io/qfsfileengine_win.cpp | |
parent | d39b5f376db85a18b163e31bd25a8c9dc4a5292c (diff) |
Rename LinkName to AbsoluteLinkTarget
The existing symLinkTarget() always resolves the symlink
target to an absolute path; It will be clearer to change
LinkName to AbsoluteLinkTarget. It is ready for the commit
about add symLinkPath() to read the raw link path.
Fixes: QTBUG-96761
Change-Id: I8da7e23b066c9ac1a16abb691aa1c4a5f1ff8361
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Wang Fei <wangfeia@uniontech.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/io/qfsfileengine_win.cpp')
-rw-r--r-- | src/corelib/io/qfsfileengine_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfsfileengine_win.cpp b/src/corelib/io/qfsfileengine_win.cpp index e4c3520c44..394b4ab69e 100644 --- a/src/corelib/io/qfsfileengine_win.cpp +++ b/src/corelib/io/qfsfileengine_win.cpp @@ -646,7 +646,7 @@ QString QFSFileEngine::fileName(FileName file) const return entry.path(); return entry.filePath(); } - case LinkName: + case AbsoluteLinkTarget: return QFileSystemEngine::getLinkTarget(d->fileEntry, d->metaData).filePath(); case BundleName: return QString(); |