Commit 10094839 authored by Michael Reeves's avatar Michael Reeves

update comment

parent 2690dfad
......@@ -229,9 +229,8 @@ void FileAccess::setFile(const QFileInfo& fi, FileAccess* pParent)
{
#ifdef Q_OS_WIN
d()->m_linkTarget = fi.readLink();
#else
// TODO: Update for Qt5.
// Unfortunately Qt4 readLink always returns an absolute path, even if the link is relative
// Unfortunately Qt5 symLinkTarget/readLink always returns an absolute path, even if the link is relative
char s[PATH_MAX + 1];
int len = readlink(QFile::encodeName(fi.absoluteFilePath()).constData(), s, PATH_MAX);
if(len > 0)
......
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