Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
-
c241d8921ea6384c30a1731a036aec8edc7609ab
Description
According to the documentation QMimeDatabase::mimeTypeForNameAndData take a fileName or a data.
But it exists a mimeTypeForName that take the name of the mime type (not fileName), and a mimeTypeForFile tha take a fileName.
This make the api inconsistent, it will better to rename it QMimeDatabase::mimeTypeForFileAndData.