aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/BrowserWindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/BrowserWindow.hpp')
-rw-r--r--src/widgets/BrowserWindow.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/BrowserWindow.hpp b/src/widgets/BrowserWindow.hpp
index 2ea7b88..bc6cea1 100644
--- a/src/widgets/BrowserWindow.hpp
+++ b/src/widgets/BrowserWindow.hpp
@@ -41,7 +41,7 @@ public:
void run_javascript(const QString &js_code, WebViewId webview_id);
void expose_rpc_function(const QString &name, const RpcFunc &action, WebViewId webview_id);
- bool on_window_key_event(QKeyEvent *event);
+ bool on_window_key_event(QObject *target, QKeyEvent *event);
void closeEvent(QCloseEvent * /*event*/) override { emit closed(); };