summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkaccessbackend.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-17 17:41:58 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-17 17:42:39 (GMT)
commit484a6043ef84df3d0d01a19247ea2c89eb8b309f (patch)
tree43cbe0e0da00eff1f82a8ac5a641453cb730ce40 /src/network/access/qnetworkaccessbackend.cpp
parent67b7d3ee2c30a710e765252a29ecb9a0ffd0a7a6 (diff)
parenta61adccf96a8ceefbf1150966adda3f6d226ec6d (diff)
downloadQt-484a6043ef84df3d0d01a19247ea2c89eb8b309f.zip
Qt-484a6043ef84df3d0d01a19247ea2c89eb8b309f.tar.gz
Qt-484a6043ef84df3d0d01a19247ea2c89eb8b309f.tar.bz2
Merge upstream/4.6 into oslo-staging-2
Diffstat (limited to 'src/network/access/qnetworkaccessbackend.cpp')
-rw-r--r--src/network/access/qnetworkaccessbackend.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qnetworkaccessbackend.cpp b/src/network/access/qnetworkaccessbackend.cpp
index 1a92868..3e2db7a 100644
--- a/src/network/access/qnetworkaccessbackend.cpp
+++ b/src/network/access/qnetworkaccessbackend.cpp
@@ -141,6 +141,8 @@ QNonContiguousByteDevice* QNetworkAccessBackend::createUploadByteDevice()
// and the special backends need to access this.
void QNetworkAccessBackend::emitReplyUploadProgress(qint64 bytesSent, qint64 bytesTotal)
{
+ if (reply->isFinished())
+ return;
reply->emitUploadProgress(bytesSent, bytesTotal);
}