From 7ead749d6db806b2f629aaaca8cd9837b3de11ad Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 23 Aug 2009 22:32:45 +0200 Subject: Commented out the 0.2 NetworkAccessManager hack. Hoping we no more need it! --- src/networkaccessmanager.cpp | 18 +++++++++--------- src/networkaccessmanager.h | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp index c99fa094..c19cf508 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -210,12 +210,12 @@ KIO::MetaData& NetworkAccessManager::metaData() }; -QNetworkReply *NetworkAccessManager::createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData) -{ - // FIXME: rude hack. Waiting for a real POST behaviour fix ;) - if(op == PostOperation) - { - return QNetworkAccessManager::createRequest(op,req,outgoingData); - } - return AccessManager::createRequest(op,req,outgoingData); -} +// QNetworkReply *NetworkAccessManager::createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData) +// { +// // FIXME: rude hack. Waiting for a real POST behaviour fix ;) +// if(op == PostOperation) +// { +// return QNetworkAccessManager::createRequest(op,req,outgoingData); +// } +// return AccessManager::createRequest(op,req,outgoingData); +// } diff --git a/src/networkaccessmanager.h b/src/networkaccessmanager.h index 45a3e9f9..7297262d 100644 --- a/src/networkaccessmanager.h +++ b/src/networkaccessmanager.h @@ -50,8 +50,8 @@ public: public slots: void loadSettings(); -protected: - virtual QNetworkReply *createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData = 0); +// protected: +// virtual QNetworkReply *createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData = 0); private slots: void authenticationRequired(QNetworkReply *reply, QAuthenticator *auth); -- cgit v1.2.1