summaryrefslogtreecommitdiffstats
path: root/src/pdf/quick/qml/PdfPageView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf/quick/qml/PdfPageView.qml')
-rw-r--r--src/pdf/quick/qml/PdfPageView.qml13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/pdf/quick/qml/PdfPageView.qml b/src/pdf/quick/qml/PdfPageView.qml
index 041054e59..cf287ecf7 100644
--- a/src/pdf/quick/qml/PdfPageView.qml
+++ b/src/pdf/quick/qml/PdfPageView.qml
@@ -33,10 +33,10 @@
** $QT_END_LICENSE$
**
****************************************************************************/
-import QtQuick 2.15
-import QtQuick.Controls 2.15
+import QtQuick 2.14
+import QtQuick.Controls 2.14
import QtQuick.Pdf 5.15
-import QtQuick.Shapes 1.15
+import QtQuick.Shapes 1.14
Rectangle {
id: paper
@@ -198,9 +198,10 @@ Rectangle {
y: rect.y * paper.__pageScale
width: rect.width * paper.__pageScale
height: rect.height * paper.__pageScale
- HoverHandler { cursorShape: Qt.PointingHandCursor } // 5.15 onward (QTBUG-68073)
- TapHandler {
- onTapped: {
+ MouseArea { // TODO switch to TapHandler / HoverHandler in 5.15
+ anchors.fill: parent
+ cursorShape: Qt.PointingHandCursor
+ onClicked: {
if (page >= 0)
navigationStack.currentPage = page
else