diff --git a/Pdf4QtLibWidgets/sources/pdfpagecontentelements.cpp b/Pdf4QtLibWidgets/sources/pdfpagecontentelements.cpp index 17d7d46..0fcd326 100644 --- a/Pdf4QtLibWidgets/sources/pdfpagecontentelements.cpp +++ b/Pdf4QtLibWidgets/sources/pdfpagecontentelements.cpp @@ -1231,7 +1231,7 @@ void PDFPageContentImageElement::drawPage(QPainter* painter, painter->scale(1.0, -1.0); targetRenderBox.moveTopLeft(QPointF(0, 0)); - QImage image = convertor.convert(image); + QImage image = convertor.convert(m_image); painter->drawImage(targetRenderBox, image); } } diff --git a/RELEASES.txt b/RELEASES.txt index 422f551..3a4f329 100644 --- a/RELEASES.txt +++ b/RELEASES.txt @@ -1,4 +1,5 @@ CURRENT: + - Issue #229: Can't add picture to PDF - Issue #228: [feature] reverse pages order - Issue #222: UnitTests fails several tests - Issue #207: Zoom to Cursor (Zoom Anchoring)