Diffusion Krita 64737d839053

Use QImageReader to read the reference images

Authored by rempt on Apr 8 2020, 12:43 PM.

Description

Use QImageReader to read the reference images

QImage::load can in some versions of Qt refuse to load an image
with the wrong extension, e.g. a file.png that's actually a jpeg
file. By using QImageReader we can make sure Krita only checks
the actual contents of the image to determine its type.

BUG:419823
(cherry picked from commit f35fba8e4a6bab6b2d037044e2569f0c184278c8)

Details

Committed
remptApr 8 2020, 12:45 PM
Parents
R37:2619491e4c28: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown