diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-07-06 22:46:16 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-07-06 22:46:16 +0200 |
commit | 67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd (patch) | |
tree | 2cf2c3b2034265ee4111cce99c03466c6314c745 /src/mainview.cpp | |
parent | Fixed a line that was calling QString::startsWith() without args. Fixed build. (diff) | |
download | rekonq-67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd.tar.xz |
Fix adblock hide behavior
NOTE: You'll find also some style & copyrights fixes here.
Just reenable the git hooks scripts...
BUG: 302050
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index 4733ae3b..861a6b1f 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -469,7 +469,7 @@ void MainView::closeTab(int index, bool del) TabHistory history(tabToClose->view()->history()); history.title = tabToClose->view()->title(); history.url = tabToClose->url().url(); - + m_recentlyClosedTabs.removeAll(history); if (m_recentlyClosedTabs.count() == recentlyClosedTabsLimit) m_recentlyClosedTabs.removeLast(); @@ -698,7 +698,7 @@ void MainView::restoreClosedTab(int i, bool inNewTab) history.applyHistory(view->history()); view->load(KUrl(history.url)); - + // just to get sure... m_recentlyClosedTabs.removeAll(history); } |