aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webengine/webview.h')
-rw-r--r--src/webengine/webview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webengine/webview.h b/src/webengine/webview.h
index 6fcbe3a..e5cd7fb 100644
--- a/src/webengine/webview.h
+++ b/src/webengine/webview.h
@@ -14,9 +14,13 @@
class WebProfile;
class SubWindow;
+class WebViewContextMenu;
class WebView : public QWebEngineView
{
+ friend class WebViewContextMenu;
+
Q_OBJECT
+
public:
explicit WebView(WebProfile *profile = nullptr, QWidget *parent = nullptr);
~WebView() = default;