diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-31 12:02:27 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-31 12:02:27 +0200 |
commit | a3e57d0dfb6cbc45e8039820ecf8a4d8c90aa6ac (patch) | |
tree | e12709403638e52d42bbd521d1a60c5f26518f9b | |
parent | Missing operations (diff) | |
download | rekonq-a3e57d0dfb6cbc45e8039820ecf8a4d8c90aa6ac.tar.xz |
This works as wrokaround for KIO missing implementation in DELETE & CUSTOM
access manager operations
It will be removed when we'll implement it in the right place.
BUG: 249275
-rw-r--r-- | src/networkaccessmanager.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp index 9d9d052d..f746087a 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -104,16 +104,17 @@ QNetworkReply *NetworkAccessManager::createRequest(QNetworkAccessManager::Operat break; case QNetworkAccessManager::DeleteOperation: + kDebug() << "DELETE OPERATION..."; + reply = QNetworkAccessManager::createRequest(op, req, outgoingData); + if(!reply) + kDebug() << "OOOOOOOOOOOOOOOOOOO DELETE REPLY NULL"; break; case QNetworkAccessManager::CustomOperation: -/* { - kDebug() << "CUSTOM OPERATION..."; - QByteArray verb("*"); - reply = sendCustomRequest(req, verb, outgoingData); - } + kDebug() << "CUSTOM OPERATION..."; + reply = QNetworkAccessManager::createRequest(op, req, outgoingData); if(!reply) - kDebug() << "OOOOOOOOOOOOOOOOOOO CUSTOM REPLY NULL";*/ + kDebug() << "OOOOOOOOOOOOOOOOOOO CUSTOM REPLY NULL"; break; default: |