1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(toxme): Delete extra check

Result is checked in response "c" value
This commit is contained in:
Diadlo 2016-04-16 01:32:37 +03:00
parent a146c43a1e
commit d1b706a4b3

View File

@ -47,13 +47,6 @@ QByteArray Toxme::makeJsonRequest(QString url, QString json, QNetworkReply::Netw
qApp->processEvents(); qApp->processEvents();
} }
error = reply->error();
if (error)
{
qWarning() << "makeJsonRequest: A network error occured:" << reply->errorString();
return QByteArray();
}
QByteArray result = reply->readAll(); QByteArray result = reply->readAll();
delete reply; delete reply;
return result; return result;