src/network/access/qnetworkaccessbackend.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   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)