From fd028f572a94660f13dda8b79b104867035f3e00 Mon Sep 17 00:00:00 2001 From: gambas Date: Tue, 26 Jan 2021 19:29:42 +0100 Subject: [PATCH] * BUG: Fix compilation. [GB.QT4.WEBVIEW] * BUG: Fix compilation. --- gb.qt4/src/webview/c_webview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gb.qt4/src/webview/c_webview.cpp b/gb.qt4/src/webview/c_webview.cpp index cb1d8f173..e65a4225f 100644 --- a/gb.qt4/src/webview/c_webview.cpp +++ b/gb.qt4/src/webview/c_webview.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include "jsonwriter.h" @@ -530,7 +531,7 @@ QWebView *MyWebView::createWindow(QWebPage::WebWindowType type) return new_view; } -void MyWebEngineView::contextMenuEvent(QContextMenuEvent *event) +void MyWebView::contextMenuEvent(QContextMenuEvent *event) { void *_object = QT.GetObject(this);