diff --git a/src/net/toxme.cpp b/src/net/toxme.cpp index 1d0b0ff95..9a7e3d567 100644 --- a/src/net/toxme.cpp +++ b/src/net/toxme.cpp @@ -47,13 +47,6 @@ QByteArray Toxme::makeJsonRequest(QString url, QString json, QNetworkReply::Netw qApp->processEvents(); } - error = reply->error(); - if (error) - { - qWarning() << "makeJsonRequest: A network error occured:" << reply->errorString(); - return QByteArray(); - } - QByteArray result = reply->readAll(); delete reply; return result;