D13782: RFC: Ignore NTFS hidden flag for root volume

Wolfgang Bauer noreply at phabricator.kde.org
Wed Jul 25 11:32:29 BST 2018


wbauer added a comment.


  In D13782#297639 <https://phabricator.kde.org/D13782#297639>, @wbauer wrote:
  
  > Using QDir::canonicalPath() (instead of QDir::cleanPath() ) would fix all 3 cases:
  >
  >   const QString fullFilePath = QDir(path + QLatin1Char('/') + filename).canonicalPath();
  >
  
  
  Or rather, as the current directory is set to `path` in line#507, this would actually suffice:
  
    const QString fullFilePath = QDir(filename).canonicalPath();

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D13782

To: broulik, dfaure, yurikoles, bruns
Cc: ngraham, oysteins, wbauer, kde-frameworks-devel, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180725/9bb72254/attachment.html>


More information about the Kde-frameworks-devel mailing list