From 7ac93db4553aa624326a8e28b74151c784b937a7 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 1 Jun 2020 14:47:15 +0200 Subject: Remove the piece of code introduced too early on parseJsonDocument() will come later. --- lib/jobs/basejob.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp index 26782edc..2519713e 100644 --- a/lib/jobs/basejob.cpp +++ b/lib/jobs/basejob.cpp @@ -363,16 +363,6 @@ void BaseJob::sendRequest() << "Request could not start:" << d->dumpRequest(); } -BaseJob::Status BaseJob::Private::parseJsonDocument() -{ - QJsonParseError error { 0, QJsonParseError::MissingObject }; - jsonResponse = QJsonDocument::fromJson(d->rawResponse, &error); - return { error.error == QJsonParseError::NoError - ? BaseJob::NoError - : BaseJob::IncorrectResponse, - error.errorString() }; -} - void BaseJob::gotReply() { checkReply(); -- cgit v1.2.3