aboutsummaryrefslogtreecommitdiff
path: root/src/WindowMediator.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WindowMediator.cpp11
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);
}