D13782: RFC: Ignore NTFS hidden flag for root volume

Wolfgang Bauer noreply at phabricator.kde.org
Thu Jul 5 17:17:34 BST 2018


wbauer added inline comments.

INLINE COMMENTS

> file_unix.cpp:566
> +                    // Bug 392913: NTFS root volume is always "hidden", ignore this
> +                    if (ep->d_type == DT_DIR) {
> +                        const QString fullFilePath = path + QLatin1Char('/') + filename;

Changing this to 'if (ep->d_type == DT_DIR || ep->d_type == DT_UNKNOWN) {' makes it work in both mentioned cases (internal harddisk mounted on boot via fstab, and external USB stick mounted via dolphin/solid) for me.

And hidden directories on the filesystem still are hidden.

REPOSITORY
  R241 KIO

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

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


More information about the Kde-frameworks-devel mailing list