diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-04-20 12:57:07 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-05-02 16:15:17 +0530 |
| commit | b4b6a646b3a7a7f6c7e990c67f208b76f4b5f748 (patch) | |
| tree | 7f18775a63594acf0187668af63766dd72b9f66f /src/WindowMediator.cpp | |
| parent | 75157006bf6f1176f64e87695343980b16908bb6 (diff) | |
| download | null-browser-b4b6a646b3a7a7f6c7e990c67f208b76f4b5f748.tar.gz null-browser-b4b6a646b3a7a7f6c7e990c67f208b76f4b5f748.zip | |
Refactor + expose managing mode to inside lua
Diffstat (limited to 'src/WindowMediator.cpp')
| -rw-r--r-- | src/WindowMediator.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/WindowMediator.cpp b/src/WindowMediator.cpp index f27e009..cb677ee 100644 --- a/src/WindowMediator.cpp +++ b/src/WindowMediator.cpp @@ -7,16 +7,6 @@ #include "widgets/WebViewStack.hpp" WindowMediator::WindowMediator(WebViewStack *webview_stack) : webview_stack(webview_stack) { - connect(this, &WindowMediator::history_back_requested, webview_stack, - &WebViewStack::webview_history_back); - connect(this, &WindowMediator::history_forward_requested, webview_stack, - &WebViewStack::webview_history_forward); - - connect(this, &WindowMediator::url_opened, webview_stack, &WebViewStack::open_url); - connect(this, &WindowMediator::webview_closed, webview_stack, &WebViewStack::close); - connect(this, &WindowMediator::webview_selected, webview_stack, &WebViewStack::focus_webview); - - // Delegate signal connect(webview_stack, &WebViewStack::new_window_requested, this, &WindowMediator::new_window_requested); connect(webview_stack, &WebViewStack::close_window_requested, this, @@ -29,7 +19,6 @@ void WindowMediator::update_user_agent(const QString &user_agent) { } void WindowMediator::update_downloads_dir(const QString &downloads_dir) { - qDebug() << "::: dl in med" << downloads_dir; auto *profile = webview_stack->get_profile(); profile->setDownloadPath(downloads_dir); } |
