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>
This commit is contained in:
parent
5eec43a44f
commit
f48f8ba0bb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user