Fix compiler warning from unused parameter
Change-Id: I227b7188eddbad024dcced908c894925cee56591 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
1c2ca4004d
commit
85121af2eb
@ -9551,7 +9551,7 @@ void tst_QNetworkReply::downloadProgressWithContentEncoding()
|
||||
|
||||
qint64 bytesReceived = -1;
|
||||
connect(reply.data(), &QNetworkReply::downloadProgress, this,
|
||||
[reply = reply.data(), &expected, &bytesReceived](qint64 recv, qint64 total) {
|
||||
[reply = reply.data(), &expected, &bytesReceived](qint64 recv, qint64 /*total*/) {
|
||||
qint64 previous = bytesReceived;
|
||||
bytesReceived = recv;
|
||||
if (bytesReceived > expected.size()) {
|
||||
|
Loading…
Reference in New Issue
Block a user