From 1c97a54381cd6a5bfd1fb6d97e8695f1b1d49166 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 14 Feb 2012 11:27:54 +0100 Subject: Add dialog allowing adblock to list blocked/hided elements and unblock some of them --- src/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e954e7d3..a14f11f0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -213,6 +213,9 @@ MainWindow::MainWindow() // Save session on window closing connect(this, SIGNAL(windowClosing()), rApp->sessionManager(), SLOT(saveSession())); + // Adblock Manager changed rules. Reload current page + connect(rApp->adblockManager(), SIGNAL(reloadCurrentPage()), m_view, SLOT(webReload())); + // setting up toolbars to NOT have context menu enabled setContextMenuPolicy(Qt::DefaultContextMenu); -- cgit v1.2.1