diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-29 14:23:35 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-29 15:58:20 +0530 |
| commit | 23b8c2c0da0317562925d574e774cedb6a93a7ac (patch) | |
| tree | 0704ffda4e8f2f1b442fd9fc6b31e025b4a4521e /src/WindowMediator.cpp | |
| parent | ed15eba453b7ddd0f4962c2d381fe40751973131 (diff) | |
| download | null-browser-23b8c2c0da0317562925d574e774cedb6a93a7ac.tar.gz null-browser-23b8c2c0da0317562925d574e774cedb6a93a7ac.zip | |
Replace fetchers with fetch methods on router
Diffstat (limited to 'src/WindowMediator.cpp')
| -rw-r--r-- | src/WindowMediator.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/WindowMediator.cpp b/src/WindowMediator.cpp index 8c49e94..7d6859b 100644 --- a/src/WindowMediator.cpp +++ b/src/WindowMediator.cpp @@ -27,12 +27,6 @@ WindowMediator::WindowMediator(WebViewStack *webview_stack, &WebViewStack::close); connect(this, &WindowMediator::webview_selected, webview_stack, &WebViewStack::focus_webview); - - // TODO: Think of how to handle this for multi-window - lua_runtime->set_current_tab_id_fetcher( - [this]() { return this->webview_stack->current_webview_id(); }); - lua_runtime->set_webview_data_list_fetcher( - [this]() { return this->webview_stack->get_webview_list(); }); } void WindowMediator::add_keymap(const QString &mode_string, |
