Make PlainTextExtractor match "text/plain" mimetype

Review Request #130013 - Created March 14, 2017 and submitted

Information
Igor Poboiko
kfilemetadata
Reviewers
kdeframeworks
anthonyfieroni

After commit 7c7e985a4678fef5f5d0dd8faa9b9cb42e3844b4 (see https://git.reviewboard.kde.org/r/129720/), PlainTextExtractor no longer matches ANY of the text/ mimetypes.
This broke completely Baloo indexing e.g. simple plain text files.
Introduced check however allows to provide "text/plain" as supported mimetype for the extractor and hope that everything containing plain text will be inherited from it.

KFileMetaData compiles.
Baloo indexes plain text files.
Everybody is happy.

Anthony Fieroni
Matthieu Gallien
Igor Poboiko
Igor Poboiko
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit f9c8bb29b2cf5d46ff68c0261393084d1ff16ece by Igor Poboiko to branch master.
Loading...