summaryrefslogtreecommitdiff
path: root/src/networkaccessmanager.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-12-15 12:34:41 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-16 00:59:32 +0100
commita8f5272dde15fc085ff3c81f65b441e52b41b12c (patch)
treeb9dbed8bdc54429adfdb921682e63a27d08da213 /src/networkaccessmanager.cpp
parentFirst form of protocol handling (diff)
downloadrekonq-a8f5272dde15fc085ff3c81f65b441e52b41b12c.tar.xz
We have file management :D
Diffstat (limited to 'src/networkaccessmanager.cpp')
-rw-r--r--src/networkaccessmanager.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp
index 1f8b8281..7d6bf434 100644
--- a/src/networkaccessmanager.cpp
+++ b/src/networkaccessmanager.cpp
@@ -48,17 +48,14 @@ QNetworkReply *NetworkAccessManager::createRequest(Operation op, const QNetworkR
kDebug() << outgoingDataByteArray;
kDebug() << "*************************************************************************";
}
-
- QNetworkRequest request(req);
- request.setAttribute(QNetworkRequest::HttpPipeliningAllowedAttribute, true);
// Adblock
if (op == QNetworkAccessManager::GetOperation)
{
- QNetworkReply *reply = Application::adblockManager()->block(request);
+ QNetworkReply *reply = Application::adblockManager()->block(req);
if (reply)
return reply;
}
- return AccessManager::createRequest(op,request,outgoingData);
+ return AccessManager::createRequest(op,req,outgoingData);
}