From ea37595cd5b9fa617fd1953118b41c8c78fdbc51 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 2 Dec 2013 22:36:24 +0530 Subject: [PATCH] Remove unused code --- src/calibre/gui2/tweak_book/job.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/calibre/gui2/tweak_book/job.py b/src/calibre/gui2/tweak_book/job.py index 5c5b277725..f3f9ccc0af 100644 --- a/src/calibre/gui2/tweak_book/job.py +++ b/src/calibre/gui2/tweak_book/job.py @@ -96,11 +96,6 @@ class BlockingJob(QWidget): p.drawText(r, Qt.AlignHCenter | Qt.AlignTop | Qt.TextSingleLine, self.text) p.end() - def eventFilter(self, obj, ev): - if ev.type() in (ev.KeyPress, ev.KeyRelease): - return True - return QWidget.eventFilter(self, obj, ev) - def set_msg(self, text): self.text = text