diff --git a/src/imageformats/avif.cpp b/src/imageformats/avif.cpp index 6e644d9..04f3f77 100644 --- a/src/imageformats/avif.cpp +++ b/src/imageformats/avif.cpp @@ -513,21 +513,12 @@ bool QAVIFHandler::decode_one_frame() #else switch (m_decoder->image->imir.axis) { #endif -#if QT_VERSION < QT_VERSION_CHECK(6, 9, 0) - case 0: // top-to-bottom - result = result.mirrored(false, true); - break; - case 1: // left-to-right - result = result.mirrored(true, false); - break; -#else case 0: // top-to-bottom result = result.flipped(Qt::Vertical); break; case 1: // left-to-right result = result.flipped(Qt::Horizontal); break; -#endif } } diff --git a/src/imageformats/iff.cpp b/src/imageformats/iff.cpp index 093ff93..881f072 100644 --- a/src/imageformats/iff.cpp +++ b/src/imageformats/iff.cpp @@ -474,11 +474,7 @@ bool IFFHandler::readMayaImage(QImage *image) painter.setCompositionMode(QPainter::CompositionMode_Source); painter.drawImage(tp, ti); } -#if QT_VERSION < QT_VERSION_CHECK(6, 9, 0) - img.mirror(false, true); -#else img.flip(Qt::Orientation::Vertical); -#endif addMetadata(img, form); *image = img;