summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRohan Garg <rohangarg@kubuntu.org>2011-02-08 22:07:57 +0530
committerRohan Garg <rohangarg@kubuntu.org>2011-02-08 22:11:09 +0530
commit08962351b619a9f1af9e745beed00d6e7eb80500 (patch)
tree31d3a2e8c231c8b16ad33720a3a81f25821ce8cf /src
parentHide bars on ESC key pressed: (diff)
downloadrekonq-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
Diffstat (limited to 'src')
-rw-r--r--src/networkaccessmanager.cpp5
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;