Those mimetypes are new and kfontinst/kfontview/fontthumbnail weren't aware
of that.
As the old types are aliases of the new types, it doesn't need to be added
to the file dialog options (it would create duplicate entries).
However, it broke thumbnail generation.
Details
Details
- Reviewers
broulik - Group Reviewers
Plasma - Commits
- R119:c9e036e24873: Support font/ttf and font/otf mimetypes in kfontinst
.ttf files have thumbnails again.
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
kcms/kfontinst/lib/Misc.cpp | ||
---|---|---|
293 ↗ | (On Diff #24955) | So why not return CFontList::fontMimeTypes.contains(mime); In other places too. |
kcms/kfontinst/lib/Misc.cpp | ||
---|---|---|
293 ↗ | (On Diff #24955) | It's probably not linked together. Anyway, this is just supposed to be a simple fix and not a refactor, stuff like this is all over the place here... |