Skip to content

FileFilterHotspot: use QMimeDataBase::mimeTypeForFile()

Ahmad Samir requested to merge work/ahmad/file-hotspot-mimetype into master

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.

Merge request reports