diff options
Diffstat (limited to 'src/pdfquick/PdfScrollablePageView.qml')
-rw-r--r-- | src/pdfquick/PdfScrollablePageView.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pdfquick/PdfScrollablePageView.qml b/src/pdfquick/PdfScrollablePageView.qml index 40be27176..9e458397e 100644 --- a/src/pdfquick/PdfScrollablePageView.qml +++ b/src/pdfquick/PdfScrollablePageView.qml @@ -168,10 +168,10 @@ Flickable { property real rotationModulus: Math.abs(root.pageRotation % 180) property bool rot90: rotationModulus > 45 && rotationModulus < 135 - Image { + PdfPageImage { id: image - currentFrame: navigationStack.currentPage - source: document.status === PdfDocument.Ready ? document.source : "" + document: root.document + currentPage: navigationStack.currentPage asynchronous: true fillMode: Image.PreserveAspectFit rotation: root.pageRotation |