From b0de1e96334e2c68bd259b720f7c61f6cdb7c797 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 9 Feb 2014 19:09:34 +0530 Subject: [PATCH] ... --- src/calibre/gui2/viewer/gestures.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/viewer/gestures.py b/src/calibre/gui2/viewer/gestures.py index 3931010fd5..a787df7c1c 100644 --- a/src/calibre/gui2/viewer/gestures.py +++ b/src/calibre/gui2/viewer/gestures.py @@ -192,7 +192,8 @@ class GestureHandler(QObject): # For some reason performing certain actions like toggling the ToC # view causes windows to stop sending WM_TOUCH events. This works # around that bug. - # This will need to be changed for Qt 5. + # This might need to be changed for Qt 5 and effectivewinid returns + # a different kind of object. hwnd = int(self.parent().effectiveWinId()) RegisterTouchWindow(hwnd, 0)