Add warning in case an invalid mimetype is requested here.

Authored by dfaure on Feb 27 2018, 2:18 PM.

Description

Add warning in case an invalid mimetype is requested here.

Summary:
This is never supposed to happen, but a bug of mine in QMimeDatabase
alias resolving, in qtbase dev, actually led to this.

Test Plan: the warning now appears for text/directory with qtbase dev. Yes I'll fix that Qt bug ;)

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: KDE PIM

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D10888

Details

Committed
dfaureFeb 28 2018, 8:09 AM
Reviewer
dvratil
Differential Revision
D10888: Add warning in case an invalid mimetype is requested here.
Parents
R165:b7461b5cb580: GIT_SILENT: Prepare 5.7.3
Branches
Unknown
Tags
Unknown