From b1686441bd837767f5507084416ffc993ab20c45 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Nov 2021 11:09:00 +0530 Subject: [PATCH] More PyQt6 nonsense --- src/calibre/gui2/viewer/lookup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/viewer/lookup.py b/src/calibre/gui2/viewer/lookup.py index 425383d4e4..7317400c04 100644 --- a/src/calibre/gui2/viewer/lookup.py +++ b/src/calibre/gui2/viewer/lookup.py @@ -226,7 +226,7 @@ class View(QWebEngineView): inspect_element = pyqtSignal() def contextMenuEvent(self, ev): - menu = self.page().createStandardContextMenu() + menu = self.createStandardContextMenu() menu.addSeparator() menu.addAction(_('Zoom in'), self.page().zoom_in) menu.addAction(_('Zoom out'), self.page().zoom_out)