mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove unused code
This commit is contained in:
parent
23eb749f6c
commit
ea37595cd5
@ -96,11 +96,6 @@ class BlockingJob(QWidget):
|
|||||||
p.drawText(r, Qt.AlignHCenter | Qt.AlignTop | Qt.TextSingleLine, self.text)
|
p.drawText(r, Qt.AlignHCenter | Qt.AlignTop | Qt.TextSingleLine, self.text)
|
||||||
p.end()
|
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):
|
def set_msg(self, text):
|
||||||
self.text = text
|
self.text = text
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user