summaryrefslogtreecommitdiff
path: root/src/networkaccessmanager.cpp
diff options
context:
space:
mode:
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);
}