summaryrefslogtreecommitdiff
path: root/src/plugins/help/webenginehelpviewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/help/webenginehelpviewer.h')
-rw-r--r--src/plugins/help/webenginehelpviewer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/help/webenginehelpviewer.h b/src/plugins/help/webenginehelpviewer.h
index cffe26af21..f781889108 100644
--- a/src/plugins/help/webenginehelpviewer.h
+++ b/src/plugins/help/webenginehelpviewer.h
@@ -53,6 +53,9 @@ class WebView : public QWebEngineView
public:
explicit WebView(WebEngineHelpViewer *viewer);
+ bool event(QEvent *ev) override;
+ bool eventFilter(QObject *src, QEvent *e) override;
+
protected:
void contextMenuEvent(QContextMenuEvent *event) override;