Revert "TaskTasix: Check network availability first."

This reverts commit bb235a3bea.
This commit is contained in:
Nodir Temirkhodjaev 2017-10-20 04:39:55 +05:00
parent e47b6fc875
commit 31ff150b9c

View File

@ -1,7 +1,6 @@
#include "tasktasix.h" #include "tasktasix.h"
#include <QNetworkAccessManager> #include <QNetworkAccessManager>
#include <QNetworkConfigurationManager>
#include <QNetworkReply> #include <QNetworkReply>
#include <QNetworkRequest> #include <QNetworkRequest>
@ -29,9 +28,6 @@ TaskTasix::TaskTasix(QObject *parent) :
void TaskTasix::run() void TaskTasix::run()
{ {
if (!QNetworkConfigurationManager().isOnline())
return;
QNetworkRequest request(QUrl(TASIX_MRLG_URL)); QNetworkRequest request(QUrl(TASIX_MRLG_URL));
request.setHeader(QNetworkRequest::ContentTypeHeader, request.setHeader(QNetworkRequest::ContentTypeHeader,
"application/x-www-form-urlencoded"); "application/x-www-form-urlencoded");