Commit f5be10b1 authored by Committed by Kurt HindenburgBrowse files
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.
Showing with 3 additions and 5 deletions