D26407: KFileItem: improve isSlow to never block, make SkipMimeTypeFromContent skip only network fs
    Kai Uwe Broulik 
    noreply at phabricator.kde.org
       
    Sat Jan  4 11:42:21 GMT 2020
    
    
  
broulik added inline comments.
INLINE COMMENTS
> kfileitem.cpp:783
> +            const auto &mountPoints = getMountPoints();
> +            auto mp = mountPoints.findByPath(path);
> +            if (mp) {
This creates a `QFileInfo` for `canonicalFilePath` which blocks, so the cache doesn't help at all.
REPOSITORY
  R241 KIO
REVISION DETAIL
  https://phabricator.kde.org/D26407
To: meven, #frameworks, ngraham, broulik, dfaure
Cc: anthonyfieroni, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200104/5814219e/attachment-0001.html>
    
    
More information about the Kde-frameworks-devel
mailing list