FileFilterHotspot: use QMimeDataBase::mimeTypeForFile()
It seems there is no way around checking for the extension then falling back to letting QMimeDataBase examine the file contents; e.g. a file named konsolerc, doesn't have an extension, but it is still a text file.
parent
3b06b6f2
Please register or sign in to comment