utils: Don't load MIME database for text/plain icon
While it technically breaks having a custom icon for text files, this saves loading the MIME database entirely when loading an empty document when we assume text/plain in KTextEditor.
With frameworks/ktexteditor!788 (merged) I no longer get a QMimeDatabase
created at all on opening kwrite
with no document.
Saves a noticeable amount of startup time
Image is 1 second. Top is new, Bottom is current git master.
Edited by Kai Uwe Broulik