summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-04-09 08:50:57 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-01-17 13:22:56 +0000
commitf48f8ba0bb7d2b3b4c1210ca4c7a3b23108c2f5a (patch)
tree331a23e11138a46325c3c9004d9c9b493911551d /src/network/access
parent5eec43a44fd7b15c975464b606ae4a894b8c9e0e (diff)
QHttpThreadDelegate: use default ctor instead of QSharedPointer(0)
Code like this makes it impossible to provide a templated QSharedPointer<T>(X*) ctor, so proactively rewrite to use the proper default ctor, which has the same effect. Change-Id: I2572e92b12804f873fac4927e93db83f796729f5 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qhttpthreaddelegate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/access/qhttpthreaddelegate.cpp b/src/network/access/qhttpthreaddelegate.cpp
index 8c3923f060..43eb85f1af 100644
--- a/src/network/access/qhttpthreaddelegate.cpp
+++ b/src/network/access/qhttpthreaddelegate.cpp
@@ -227,15 +227,15 @@ QHttpThreadDelegate::QHttpThreadDelegate(QObject *parent) :
, downloadBufferMaximumSize(0)
, readBufferMaxSize(0)
, bytesEmitted(0)
- , pendingDownloadData(0)
- , pendingDownloadProgress(0)
+ , pendingDownloadData()
+ , pendingDownloadProgress()
, synchronous(false)
, incomingStatusCode(0)
, isPipeliningUsed(false)
, isSpdyUsed(false)
, incomingContentLength(-1)
, incomingErrorCode(QNetworkReply::NoError)
- , downloadBuffer(0)
+ , downloadBuffer()
, httpConnection(0)
, httpReply(0)
, synchronousRequestLoop(0)