Diffusion Krita 3145ca09146e

Fix pasting SVG as vectors on Windows

Authored by rempt on Apr 10 2020, 10:27 AM.

Description

Fix pasting SVG as vectors on Windows

On Windows, inkscape puts the following mimetypes on the clipboard:

"image/x-inkscape-svg"
"application/x-qt-windows-mime;value=\"PNG\"" "application/x-qt-image"

While krita expected

"image/svg+xml"

Now we just look through all formats to see whether there's one htat
says 'svg' and then use that data.

Details

Committed
remptApr 10 2020, 10:27 AM
Parents
R37:5438445da965: Set focus on the view on mouse-over
Branches
Unknown
Tags
Unknown
References
refs/keep-around/3145ca09146ec84958799fd15b4cd0ddd32ac7fb