From ccaf8c5507bf4ac42314844afc83b982d857611a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 5 Jul 2014 13:36:32 +0530 Subject: [PATCH] Fix tap and hold not working because Qt 5 does not deliver touch update events during a tap and hold when the finger position does not change. --- src/calibre/gui2/viewer/gestures.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/viewer/gestures.py b/src/calibre/gui2/viewer/gestures.py index b0041786a4..2aee47710d 100644 --- a/src/calibre/gui2/viewer/gestures.py +++ b/src/calibre/gui2/viewer/gestures.py @@ -173,6 +173,7 @@ class State(QObject): self.possible_gestures &= {Pinch} if boundary == 'end': + self.check_for_holds() self.finalize() self.clear() else: