Replace ancient homegrown MIME type detection with QMimeDatabase
This code predates the existence of QMimeDatabase by a major version or two.
No external impact expected as this only is used for legacy non-MIME encoding anyway.
This code predates the existence of QMimeDatabase by a major version or two.
No external impact expected as this only is used for legacy non-MIME encoding anyway.