Commit 06e0867d authored by Michael Reeves's avatar Michael Reeves

Use QFileInfo::symLinkTarget not QInfo::readLink

parent 5b425058
Pipeline #6814 passed with stage
in 7 minutes and 24 seconds
......@@ -160,7 +160,7 @@ void FileAccess::loadData()
if(isLocal() && m_bSymLink)
m_linkTarget = m_fileInfo.readLink();
m_linkTarget = m_fileInfo.symLinkTarget();
#ifndef Q_OS_WIN
// Unfortunately Qt5 symLinkTarget/readLink always returns an absolute path, even if the link is relative
char* s = (char*)malloc(PATH_MAX + 1);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment