Commit 1efd4a49 authored by Michael Reeves's avatar Michael Reeves

Use QFileInfo::symLinkTarget not QInfo::readLink

parent 9de667dc
Pipeline #6815 passed with stage
in 6 minutes and 53 seconds
......@@ -159,7 +159,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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment