mirror of
https://github.com/tnodir/fort
synced 2024-11-15 01:25:52 +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 <QNetworkAccessManager>
|
||||
#include <QNetworkConfigurationManager>
|
||||
#include <QNetworkReply>
|
||||
#include <QNetworkRequest>
|
||||
|
||||
@ -29,9 +28,6 @@ TaskTasix::TaskTasix(QObject *parent) :
|
||||
|
||||
void TaskTasix::run()
|
||||
{
|
||||
if (!QNetworkConfigurationManager().isOnline())
|
||||
return;
|
||||
|
||||
QNetworkRequest request(QUrl(TASIX_MRLG_URL));
|
||||
request.setHeader(QNetworkRequest::ContentTypeHeader,
|
||||
"application/x-www-form-urlencoded");
|
||||
|
Loading…
Reference in New Issue
Block a user