From 23b8c2c0da0317562925d574e774cedb6a93a7ac Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 29 Mar 2025 14:23:35 +0530 Subject: Replace fetchers with fetch methods on router --- src/WindowMediator.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/WindowMediator.cpp') 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, -- cgit v1.3.1