summaryrefslogtreecommitdiff
path: root/src/pdfquick/qml/PdfMultiPageView.qml
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2022-02-08 09:23:47 +0100
committerPeter Varga <pvarga@inf.u-szeged.hu>2022-02-08 14:36:15 +0000
commitf28c0e6680f3ef8ebb5e82d0fe375afbc6fb0fe9 (patch)
tree4e2a3827e7e87b5f53f3dc211305596c01b018d3 /src/pdfquick/qml/PdfMultiPageView.qml
parent4f7b7995552b0220a9e431266e0119cd03a233cf (diff)
downloadqtwebengine-f28c0e6680f3ef8ebb5e82d0fe375afbc6fb0fe9.tar.gz
QtPdf: Fix QML warning about usage of injected signal parameters
Pick-to: 6.3 6.2 Change-Id: I4bbc3c1adf4ba2bc5cc8d71278e201ee05fc85bd Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/pdfquick/qml/PdfMultiPageView.qml')
-rw-r--r--src/pdfquick/qml/PdfMultiPageView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdfquick/qml/PdfMultiPageView.qml b/src/pdfquick/qml/PdfMultiPageView.qml
index 5a52e1876..be90f5e00 100644
--- a/src/pdfquick/qml/PdfMultiPageView.qml
+++ b/src/pdfquick/qml/PdfMultiPageView.qml
@@ -387,7 +387,7 @@ Item {
id: navigationStack
property bool jumping: false
property int previousPage: 0
- onJumped: {
+ onJumped: function(page, location, zoom) {
jumping = true
root.renderScale = zoom
if (location.y < 0) {