summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2010-01-14 10:18:35 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2010-01-14 10:35:01 (GMT)
commitf7767801f1d9455325351ec9bb590c6f7cd60e77 (patch)
treea9590f69eb49367a896717313f1612fc04ebe69e /src
parente915c2408b2030b142dc309a9e4aba621341aa28 (diff)
downloadQt-f7767801f1d9455325351ec9bb590c6f7cd60e77.zip
Qt-f7767801f1d9455325351ec9bb590c6f7cd60e77.tar.gz
Qt-f7767801f1d9455325351ec9bb590c6f7cd60e77.tar.bz2
network internals: fix uploading of data
Reviewed-by: Markus Goetz
Diffstat (limited to 'src')
-rw-r--r--src/network/access/qhttpnetworkconnectionchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qhttpnetworkconnectionchannel.cpp b/src/network/access/qhttpnetworkconnectionchannel.cpp
index 39d09aa..1955dba 100644
--- a/src/network/access/qhttpnetworkconnectionchannel.cpp
+++ b/src/network/access/qhttpnetworkconnectionchannel.cpp
@@ -260,7 +260,7 @@ bool QHttpNetworkConnectionChannel::sendRequest()
// ensure we try to receive a reply in all cases, even if _q_readyRead_ hat not been called
// this is needed if the sends an reply before we have finished sending the request. In that
// case receiveReply had been called before but ignored the server reply
- QMetaObject::invokeMethod(connection, "_q_receiveReply", Qt::QueuedConnection);
+ QMetaObject::invokeMethod(this, "_q_receiveReply", Qt::QueuedConnection);
break;
}
case QHttpNetworkConnectionChannel::ReadingState: