file_unix: don't call QMimeDatabase::mimeTypeForFile for directories

It is useless, and the caller probably already has the information.

This should help a test instability in MimeTypeFinderJobTest for the directory case.

Merge request reports

Loading