diff --git a/ui/pagepainter.cpp b/ui/pagepainter.cpp index 27d4fcc5f..75794c1b0 100644 --- a/ui/pagepainter.cpp +++ b/ui/pagepainter.cpp @@ -662,6 +662,7 @@ void PagePainter::cropPixmapOnImage( QImage & dest, const QPixmap * src, const Q if ( r == QRect( 0, 0, src->width(), src->height() ) ) { dest = src->toImage(); + dest = dest.convertToFormat(QImage::Format_ARGB32_Premultiplied); } // else copy a portion of the src to an internal pixmap (smaller) and convert it else