D28745: Skip caching thumbnails on encrypted filesystems

Stefan BrĂ¼ns noreply at phabricator.kde.org
Mon Jun 29 17:17:09 BST 2020


bruns added a comment.


  In D28745#675685 <https://phabricator.kde.org/D28745#675685>, @marcingu wrote:
  
  >   Solid::Device device = Solid::Device::storageAccessFromPath(filePath);
  >   if (device.is<Solid::StorageVolume>()) {
  >       allowCache = device.as<Solid::StorageVolume>()->usage() != Solid::StorageVolume::UsageType::Encrypted;
  >   }
  >
  
  
  How often do I have to repeat the thumbnailer has to use the canonical path anyway? Please use that.

REPOSITORY
  R320 KIO Extras

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

To: marcingu, ivan, broulik, #dolphin, ngraham, meven, bruns
Cc: thiago, bruns, meven, ngraham, kde-frameworks-devel, kfm-devel, waitquietly, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, LeGast00n, cblack, fbampaloukas, alexde, Codezela, feverfew, michaelh, spoorun, navarromorales, firef, andrebarros, emmanuelp, rdieter, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200629/53287bd2/attachment.htm>


More information about the kfm-devel mailing list