Remove unused QNetworkReply

Change-Id: I536226270db1534b0bda1a2205898c291285721a
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
Mikhail Svetkin 2018-07-19 22:44:59 +02:00
parent 1bc95822cf
commit 232a3047f5
1 changed files with 1 additions and 2 deletions

View File

@ -116,11 +116,10 @@ void tst_QAbstractHttpServer::request()
if (!query.isEmpty())
url.setQuery(query);
const QNetworkRequest request(url);
auto reply = networkAccessManager.get(request);
networkAccessManager.get(request);
QTRY_COMPARE(server.method, QHttpServerRequest::Method::Get);
QCOMPARE(server.url, url);
QCOMPARE(server.body, QByteArray());
reply->deleteLater();
}
void tst_QAbstractHttpServer::checkListenWarns()