From 8e78b096597ba7f8901a31d61625e222386a0c5d Mon Sep 17 00:00:00 2001 From: "J.D. Purcell" Date: Sat, 6 Jul 2024 19:07:44 -0400 Subject: [PATCH] Fix inability to load certain JPG files Allow the file extension to be used as a hint to give the JPG decoder priority over the RAW decoder --- src/qvimagecore.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qvimagecore.cpp b/src/qvimagecore.cpp index 74454930..bec8473f 100644 --- a/src/qvimagecore.cpp +++ b/src/qvimagecore.cpp @@ -126,7 +126,6 @@ void QVImageCore::loadFile(const QString &fileName, bool isReloading) QVImageCore::ReadData QVImageCore::readFile(const QString &fileName, const QColorSpace &targetColorSpace) { QImageReader imageReader; - imageReader.setDecideFormatFromContent(true); imageReader.setAutoTransform(true); imageReader.setFileName(fileName);