aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-01 14:47:15 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-01 14:47:15 +0200
commit7ac93db4553aa624326a8e28b74151c784b937a7 (patch)
tree72657a37d23bf0bba83e8e9deefc893250fb6beb /lib/jobs
parent51ef6011d6dfc55ea0c8b0cdd1d9e7315087aad9 (diff)
downloadlibquotient-7ac93db4553aa624326a8e28b74151c784b937a7.tar.gz
libquotient-7ac93db4553aa624326a8e28b74151c784b937a7.zip
Remove the piece of code introduced too early on
parseJsonDocument() will come later.
Diffstat (limited to 'lib/jobs')
-rw-r--r--lib/jobs/basejob.cpp10
1 files changed, 0 insertions, 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();