summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@theqtcompany.com>2015-03-16 16:56:13 +0100
committerAlessandro Portale <alessandro.portale@theqtcompany.com>2015-03-17 12:56:54 +0000
commit7c250d86ae50109aeb029ee484c24dfcc5cdfc4b (patch)
treedd9d2c81775e09f0b4d552380eed1f4481c9e576
parentb725b5fd9158d95f3693a06425924271ee4b4239 (diff)
downloadqtsvg-7c250d86ae50109aeb029ee484c24dfcc5cdfc4b.tar.gz
Imageformat plugin: Set mime type "image/svg+xml"
QImageWriter::supportedMimeTypes() is missing "image/svg+xml", because it was missing in svg.json. Change-Id: Ica006e2a9e921deed5469c58f939b585dbf8c4ea Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
-rw-r--r--src/plugins/imageformats/svg/svg.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/imageformats/svg/svg.json b/src/plugins/imageformats/svg/svg.json
index c63e4c8..c8825d4 100644
--- a/src/plugins/imageformats/svg/svg.json
+++ b/src/plugins/imageformats/svg/svg.json
@@ -1,3 +1,4 @@
{
- "Keys": [ "svg", "svgz" ]
+ "Keys": [ "svg", "svgz" ],
+ "MimeTypes": [ "image/svg+xml" ]
}