diff options
Diffstat (limited to 'src/pdfquick/PdfPageView.qml')
-rw-r--r-- | src/pdfquick/PdfPageView.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pdfquick/PdfPageView.qml b/src/pdfquick/PdfPageView.qml index ed1f00372..bcb286c0c 100644 --- a/src/pdfquick/PdfPageView.qml +++ b/src/pdfquick/PdfPageView.qml @@ -146,10 +146,10 @@ Rectangle { // TODO deal with horizontal location (need WheelHandler or Flickable probably) } - 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 property bool centerOnLoad: false |