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.

This commit is contained in:
Kovid Goyal 2014-07-05 13:36:32 +05:30
parent 2949126dd6
commit ccaf8c5507

View File

@ -173,6 +173,7 @@ class State(QObject):
self.possible_gestures &= {Pinch} self.possible_gestures &= {Pinch}
if boundary == 'end': if boundary == 'end':
self.check_for_holds()
self.finalize() self.finalize()
self.clear() self.clear()
else: else: