equal
deleted
inserted
replaced
139 |
139 |
140 // need to have this function since the reply is a private member variable |
140 // need to have this function since the reply is a private member variable |
141 // and the special backends need to access this. |
141 // and the special backends need to access this. |
142 void QNetworkAccessBackend::emitReplyUploadProgress(qint64 bytesSent, qint64 bytesTotal) |
142 void QNetworkAccessBackend::emitReplyUploadProgress(qint64 bytesSent, qint64 bytesTotal) |
143 { |
143 { |
|
144 if (reply->isFinished()) |
|
145 return; |
144 reply->emitUploadProgress(bytesSent, bytesTotal); |
146 reply->emitUploadProgress(bytesSent, bytesTotal); |
145 } |
147 } |
146 |
148 |
147 QNetworkAccessBackend::QNetworkAccessBackend() |
149 QNetworkAccessBackend::QNetworkAccessBackend() |
148 : manager(0) |
150 : manager(0) |