aboutsummaryrefslogtreecommitdiff
path: root/jobs
diff options
context:
space:
mode:
authorDavid A Roberts <d@vidr.cc>2016-04-12 20:31:20 +1000
committerDavid A Roberts <d@vidr.cc>2016-04-12 20:31:20 +1000
commitda90b601b06512e23ac66d0b301e1eafaf2b7bc2 (patch)
treee9c6ef5f5da2430c259f00077b83d275adc1fb29 /jobs
parent0f6cb38896443cf104aa470eb1822bd2e49143f1 (diff)
parent00a73167ca455370868f1f82257420f0cb399a15 (diff)
downloadlibquotient-da90b601b06512e23ac66d0b301e1eafaf2b7bc2.tar.gz
libquotient-da90b601b06512e23ac66d0b301e1eafaf2b7bc2.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'jobs')
-rw-r--r--jobs/basejob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/basejob.cpp b/jobs/basejob.cpp
index 86109feb..519e1517 100644
--- a/jobs/basejob.cpp
+++ b/jobs/basejob.cpp
@@ -81,7 +81,7 @@ void BaseJob::start()
QNetworkRequest req = QNetworkRequest(url);
req.setHeader(QNetworkRequest::ContentTypeHeader, "application/json");
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
- req.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true);\
+ req.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true);
req.setMaximumRedirectsAllowed(10);
#endif
QJsonDocument data = QJsonDocument(this->data());
@@ -125,7 +125,7 @@ void BaseJob::gotReply()
{
if( d->reply->error() != QNetworkReply::NoError )
{
- qDebug() << "NetworkError:" << d->reply->errorString();
+ qDebug() << "NetworkError!!!" << d->reply->error();
fail( NetworkError, d->reply->errorString() );
return;
}