diff options
author | Rohan Garg <rohangarg@kubuntu.org> | 2011-02-08 22:07:57 +0530 |
---|---|---|
committer | Rohan Garg <rohangarg@kubuntu.org> | 2011-02-08 22:11:09 +0530 |
commit | 08962351b619a9f1af9e745beed00d6e7eb80500 (patch) | |
tree | 31d3a2e8c231c8b16ad33720a3a81f25821ce8cf | |
parent | Hide bars on ESC key pressed: (diff) | |
download | rekonq-08962351b619a9f1af9e745beed00d6e7eb80500.tar.xz |
Disable QNetworkAccessManager::CustomOperation code for KDE 4.5.96 and above
RB: http://git.reviewboard.kde.org/r/100597/
Reviewed by Andrea Diamantini
-rw-r--r-- | src/networkaccessmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp index 9d9101b9..118d4b24 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -106,6 +106,10 @@ QNetworkReply *NetworkAccessManager::createRequest(QNetworkAccessManager::Operat case QNetworkAccessManager::PostOperation: break; + // This particular issue has been solved for KDE Version 4.5.96, + // so we can safely disable this piece of code + #if !KDE_IS_VERSION( 4, 5, 96) + case QNetworkAccessManager::DeleteOperation: kDebug() << "DELETE OPERATION..."; reply = QNetworkAccessManager::createRequest(op, req, outgoingData); @@ -120,6 +124,7 @@ QNetworkReply *NetworkAccessManager::createRequest(QNetworkAccessManager::Operat kDebug() << "OOOOOOOOOOOOOOOOOOO CUSTOM REPLY NULL"; break; + #endif default: kDebug() << "NON EXTANT CASE..."; break; |