https://bugs.kde.org/show_bug.cgi?id=403902
--- Comment #16 from Stefan Brüns <stefan.bru...@rwth-aachen.de> --- Git commit 69c25514cf6a08ceaaacbc4092cc02ff40853228 by Stefan Brüns. Committed on 27/03/2019 at 01:48. Pushed by bruns into branch 'master'. Add helper function to determine mime type based on content and extension 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. Reviewers: #baloo, #frameworks, astippich, ngraham, poboiko Reviewed By: #baloo, astippich, ngraham Subscribers: kde-frameworks-devel Tags: #frameworks, #baloo Differential Revision: https://phabricator.kde.org/D20045 M +1 -0 src/CMakeLists.txt A +50 -0 src/mimeutils.cpp [License: LGPL (v2.1+)] A +55 -0 src/mimeutils.h [License: LGPL (v2.1+)] https://commits.kde.org/kfilemetadata/69c25514cf6a08ceaaacbc4092cc02ff40853228 -- You are receiving this mail because: You are watching all bug changes.