Re: [trojita] MIME type for PDF files

2022-05-30 Thread Andy Balholm
Thanks. That put me on the right track, and I found it in ~/.local/shsare/mime Andy On Monday, May 30, 2022 8:12:48 AM PDT, paalsteek wrote: Hey, Trojitá uses QMimeDatabase to retrieve the MIME type of an attachment (see

Re: [trojita] MIME type for PDF files

2022-05-30 Thread paalsteek
Hey, Trojitá uses QMimeDatabase to retrieve the MIME type of an attachment (see https://github.com/jktjkt/trojita/blob/master/src/Composer/ComposerAttachments.cpp#L189). QMimeDatabase uses the freedesktop.org shared-mime-info database on linux systems or a database distributed with Qt on other