diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-05-27 22:58:44 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-05-27 23:34:32 +0200 |
commit | 807e20570cbfef6e258313565598905564f1bb86 (patch) | |
tree | 695b3c940bce02305224e5781a7c48b5a6fdab94 /src/adblock/adblockmanager.cpp | |
parent | Runtime Nepomuk tagging check (diff) | |
download | rekonq-807e20570cbfef6e258313565598905564f1bb86.tar.xz |
Kitchen sink clean up
- astyle
- copyrights
- (some) includes
Diffstat (limited to 'src/adblock/adblockmanager.cpp')
-rw-r--r-- | src/adblock/adblockmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/adblock/adblockmanager.cpp b/src/adblock/adblockmanager.cpp index fca4ea03..967f103c 100644 --- a/src/adblock/adblockmanager.cpp +++ b/src/adblock/adblockmanager.cpp @@ -220,7 +220,7 @@ void AdBlockManager::loadRuleString(const QString &stringRule) _blackList << rule; } - + QNetworkReply *AdBlockManager::block(const QNetworkRequest &request, WebPage *page) { if (!_isAdblockEnabled) @@ -404,7 +404,7 @@ void AdBlockManager::addCustomRule(const QString &stringRule, bool reloadPage) out << stringRule << '\n'; ruleFile.close(); - + // load it loadRuleString(stringRule); @@ -427,14 +427,14 @@ void AdBlockManager::showBlockedItemDialog() dialog->setMainWidget(&widget); dialog->exec(); - Q_FOREACH(const QString &r, widget.rulesToAdd()) + Q_FOREACH(const QString & r, widget.rulesToAdd()) { addCustomRule(r); } - + if (widget.pageNeedsReload()) emit reloadCurrentPage(); - + dialog->deleteLater(); } |