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.wilder
parent
3b06b6f22a
commit
f5be10b15b
1 changed files with 3 additions and 5 deletions
Loading…
Reference in new issue