summaryrefslogtreecommitdiff
path: root/src/adblock
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-22 23:43:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-22 23:43:46 +0200
commit370d5677ba15c4e41ba2513bbeed266fe69cbe41 (patch)
treed45d54f9644709f0f4324280c47999c7d5e7601e /src/adblock
parentshow url on file:// && ftp:// schemes (diff)
downloadrekonq-370d5677ba15c4e41ba2513bbeed266fe69cbe41.tar.xz
Cleaning some kDebug calls
Diffstat (limited to 'src/adblock')
-rw-r--r--src/adblock/adblockmanager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/adblock/adblockmanager.cpp b/src/adblock/adblockmanager.cpp
index 48e2369d..39432f88 100644
--- a/src/adblock/adblockmanager.cpp
+++ b/src/adblock/adblockmanager.cpp
@@ -114,6 +114,7 @@ void AdBlockManager::loadSettings(bool checkUpdateDate)
void AdBlockManager::loadRules(const QStringList &rules)
{
+ kDebug() << "LOADING RULES LIST...";
foreach(const QString &stringRule, rules)
{
// ! rules are comments
@@ -259,15 +260,14 @@ void AdBlockManager::updateNextSubscription()
void AdBlockManager::slotResult(KJob *job)
{
- kDebug() << "SLOTRESULT";
if (job->error())
return;
+ kDebug() << "SAVING RULES..";
QList<QByteArray> list = _buffer.split('\n');
QStringList ruleList;
foreach(const QByteArray &ba, list)
{
- kDebug() << ba;
ruleList << QString(ba);
}
loadRules(ruleList);
@@ -282,7 +282,6 @@ void AdBlockManager::slotResult(KJob *job)
void AdBlockManager::subscriptionData(KIO::Job* job, const QByteArray& data)
{
- kDebug() << "subscriptionData";
Q_UNUSED(job)
if (data.isEmpty())