D21706: [ModifiedFileIndexer] Use correct mimetype for folders, delay until needed

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sun Jun 9 23:56:22 BST 2019


bruns created this revision.
bruns added reviewers: Baloo, ngraham, astippich, poboiko.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  mimeTypeForFile is quite expensive (much more than QFileInfo and fetching
  the timestamps from the DB), and yields the wrong type for folders.

REPOSITORY
  R293 Baloo

BRANCH
  cleanup

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

AFFECTED FILES
  src/file/modifiedfileindexer.cpp

To: bruns, #baloo, ngraham, astippich, poboiko
Cc: kde-frameworks-devel, LeGast00n, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190609/de67a19f/attachment.html>


More information about the Kde-frameworks-devel mailing list