summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-02-14 11:27:54 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-03-13 10:24:42 +0100
commit1c97a54381cd6a5bfd1fb6d97e8695f1b1d49166 (patch)
treedbc2071257705803b98a322c93d5214a6d336199 /src/mainwindow.cpp
parentLet rekonq block sparse images (this idea has been copied from Arora) (diff)
downloadrekonq-1c97a54381cd6a5bfd1fb6d97e8695f1b1d49166.tar.xz
Add dialog allowing adblock to list blocked/hided elements and unblock
some of them
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
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);