diff --git a/graphicsview.cpp b/graphicsview.cpp index 6f08acf..6314cc1 100644 --- a/graphicsview.cpp +++ b/graphicsview.cpp @@ -42,6 +42,7 @@ void GraphicsView::showFromUrlList(const QList &urlList) showGif(filePath); } else { QImageReader imageReader(filePath); + imageReader.setAutoTransform(true); imageReader.setDecideFormatFromContent(true); QImage::Format imageFormat = imageReader.imageFormat(); if (imageFormat == QImage::Format_Invalid) {