D20045: Add helper function to determine mime type based on content and extension
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Mon Mar 25 17:07:53 GMT 2019
bruns created this revision.
bruns added reviewers: Baloo, Frameworks, astippich, ngraham, poboiko.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.
REVISION SUMMARY
The QMimeDatabase::MatchDefault only falls back to content matching
if the extension is not known. This fails for e.g. Matroska files, where
the content allows to distinguish between audio and video files.
CCBUG: 403902
REPOSITORY
R286 KFileMetaData
BRANCH
submit_mime
REVISION DETAIL
https://phabricator.kde.org/D20045
AFFECTED FILES
src/CMakeLists.txt
src/mimeutils.cpp
src/mimeutils.h
To: bruns, #baloo, #frameworks, astippich, ngraham, poboiko
Cc: kde-frameworks-devel, gennad, 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/20190325/6190c927/attachment.html>
More information about the Kde-frameworks-devel
mailing list