mirror of https://github.com/qt/qthttpserver.git
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:
parent
1bc95822cf
commit
232a3047f5
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue