This patch makes PreviewJob skip thumbnail generation on fuse.encfs and fuse.cryfs mounts.
BUG:404750
This patch makes PreviewJob skip thumbnail generation on fuse.encfs and fuse.cryfs mounts.
BUG:404750
Lint Skipped |
Unit Tests Skipped |
There's a findByPath method on the list https://api.kde.org/frameworks/kio/html/classKMountPoint_1_1List.html#add38a82921d203856e1d1f9ddb9adbe6
It's a bit smarter as it resolves symlinks and such.
src/widgets/previewjob.cpp | ||
---|---|---|
307 | I didn't do any profiling. We can not cache because mount points can change. KMountPoint provides no signals of this. It should not be overly expensive - small number of mounts to process. |