mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-04 21:15:24 -04:00
...
This commit is contained in:
@@ -552,6 +552,7 @@ class DocumentView(QWebView): # {{{
|
||||
magnification_changed = pyqtSignal(object)
|
||||
DISABLED_BRUSH = QBrush(Qt.lightGray, Qt.Dense5Pattern)
|
||||
gesture_handler = lambda s, e: False
|
||||
last_loaded_path = None
|
||||
|
||||
def initialize_view(self, debug_javascript=False):
|
||||
self.setRenderHints(QPainter.Antialiasing|QPainter.TextAntialiasing|QPainter.SmoothPixmapTransform)
|
||||
|
||||
Reference in New Issue
Block a user