D28745: Skip caching thumbnails on encrypted filesystems
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Sat May 9 14:42:04 BST 2020
bruns added a comment.
I think the patch as is has some structural problems. I think it would be significantly cleaner when:
- the "cacheAllowed" checking code is moved into a separate function
- the global `allowCache` variable is removed, and the value is passed into `createSubThumbnail(...)`/`drawSubThumbnail(...)` as parameter
You can then call the check function once on the directory, at the same place the `QDirIterator` is instantiated (line 538).
And can you please use `arc` for uploading the patch, it is really hard to do a review without context.
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: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200509/396d04bf/attachment.htm>
More information about the Kde-frameworks-devel
mailing list