From 08962351b619a9f1af9e745beed00d6e7eb80500 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Tue, 8 Feb 2011 22:07:57 +0530 Subject: Disable QNetworkAccessManager::CustomOperation code for KDE 4.5.96 and above RB: http://git.reviewboard.kde.org/r/100597/ Reviewed by Andrea Diamantini --- src/networkaccessmanager.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.1