summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2018-04-05 18:00:55 +0200
committerDavid Faure <david.faure@kdab.com>2018-06-22 09:05:38 +0000
commit4386887b104c0c4451e43f9be7e95e3f2b016433 (patch)
tree0cfa8d8e0558a999225dbfa3adea3e9dd012cc37 /src/plugins/imageformats
parent558dd7f58735716d7d1f61fb5323d807b178f0c7 (diff)
Fix ico.json to avoid returning an empty mimetype
QImageWriter::supportedMimeTypes() had an empty mimetype name in the list because the mimetype for the key "cur" was missing in this json file. Change-Id: I4eae4275cb04c4d640dbcac76cd9dc99baa4f0a7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/imageformats')
-rw-r--r--src/plugins/imageformats/ico/ico.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/imageformats/ico/ico.json b/src/plugins/imageformats/ico/ico.json
index 14093ee471..304e2f1c02 100644
--- a/src/plugins/imageformats/ico/ico.json
+++ b/src/plugins/imageformats/ico/ico.json
@@ -1,4 +1,4 @@
{
"Keys": [ "ico", "cur" ],
- "MimeTypes": [ "image/vnd.microsoft.icon" ]
+ "MimeTypes": [ "image/vnd.microsoft.icon", "image/vnd.microsoft.icon" ]
}