mirror of
https://github.com/tnodir/fort
synced 2024-11-15 03:36:07 +00:00
Revert "TaskTasix: Check network availability first."
This reverts commit bb235a3bea
.
This commit is contained in:
parent
e47b6fc875
commit
31ff150b9c
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user