diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-08-02 22:19:24 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-08-02 22:19:24 +0530 |
| commit | 0d1258aee3f39c8d5348588a87e804ec8cd27bd5 (patch) | |
| tree | 60b0c15a9f61ab825a1e1d9c6f8388b0aaf03d7c /src/widgets/BrowserWindow.cpp | |
| parent | d37020870600d6c842f9a75ebd3986df6010c25c (diff) | |
| download | null-browser-0d1258aee3f39c8d5348588a87e804ec8cd27bd5.tar.gz null-browser-0d1258aee3f39c8d5348588a87e804ec8cd27bd5.zip | |
Add web.view.reload
Diffstat (limited to 'src/widgets/BrowserWindow.cpp')
| -rw-r--r-- | src/widgets/BrowserWindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/BrowserWindow.cpp b/src/widgets/BrowserWindow.cpp index 7852a66..87e315c 100644 --- a/src/widgets/BrowserWindow.cpp +++ b/src/widgets/BrowserWindow.cpp @@ -10,7 +10,6 @@ #include "WindowActionRouter.hpp" #include "events/KeyPressedEvent.hpp" #include "keymap/KeymapEvaluator.hpp" -#include "widgets/BrowserApp.hpp" #include "widgets/Decorations.hpp" #include "widgets/WebViewStack.hpp" @@ -111,3 +110,7 @@ void BrowserWindow::expose_rpc_function(const QString &name, const RpcFunc &acti WebViewId webview_id) { get_webview_mediator(webview_id)->expose_rpc_function(name, action, webview_id); } + +void BrowserWindow::reload(WebViewId webview_id) { + get_webview_mediator(webview_id)->reload(webview_id); +} |
