summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2022-05-30 10:42:04 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2022-05-31 06:03:37 +0200
commit038b361c452feb41106867f20b2484c1f384b0d1 (patch)
treec9a6dee906107520e878d15cd6795ce190189ef6 /examples
parent4bfee3b26d9d698bc41947c7b574a370c92070d6 (diff)
Remove PdfPageView.currentPage property
It was just an alias for currentFrame. Change-Id: Ib16f579b1905cf5fe43496553ebde054d474a7c7 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/pdf/multipage/viewer.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pdf/multipage/viewer.qml b/examples/pdf/multipage/viewer.qml
index ff6eb7fc5..cf94c099b 100644
--- a/examples/pdf/multipage/viewer.qml
+++ b/examples/pdf/multipage/viewer.qml
@@ -387,7 +387,7 @@ ApplicationWindow {
PdfPageImage {
id: image
document: doc
- currentPage: index
+ currentFrame: index
asynchronous: true
fillMode: Image.PreserveAspectFit
property size naturalSize: doc.pagePointSize(index)