Fix QT_NO_BEARERMANAGEMENT compile of QHttpThreadDelegate.
Re-order the constructor parameters for QHttpNetworkConnection to be consistent with the #ifndef version. Change-Id: Icd8be4406ff549d468e06d635fac2ddc34826b1c Reviewed-by: Richard J. Moore <rich@kde.org>bb10
parent
aa4ad43cfd
commit
ba9b1b0512
|
|
@ -1219,8 +1219,8 @@ QHttpNetworkConnection::QHttpNetworkConnection(quint16 connectionCount, const QS
|
|||
d->init();
|
||||
}
|
||||
#else
|
||||
QHttpNetworkConnection::QHttpNetworkConnection(const QString &hostName, quint16 port, bool encrypt, QObject *parent,
|
||||
QHttpNetworkConnection::ConnectionType connectionType)
|
||||
QHttpNetworkConnection::QHttpNetworkConnection(const QString &hostName, quint16 port, bool encrypt,
|
||||
QHttpNetworkConnection::ConnectionType connectionType, QObject *parent)
|
||||
: QObject(*(new QHttpNetworkConnectionPrivate(hostName, port, encrypt , connectionType)), parent)
|
||||
{
|
||||
Q_D(QHttpNetworkConnection);
|
||||
|
|
|
|||
|
|
@ -110,8 +110,8 @@ public:
|
|||
ConnectionType connectionType = ConnectionTypeHTTP);
|
||||
#else
|
||||
explicit QHttpNetworkConnection(const QString &hostName, quint16 port = 80, bool encrypt = false,
|
||||
QObject *parent = 0,
|
||||
ConnectionType connectionType = ConnectionTypeHTTP);
|
||||
ConnectionType connectionType = ConnectionTypeHTTP,
|
||||
QObject *parent = 0);
|
||||
QHttpNetworkConnection(quint16 channelCount, const QString &hostName, quint16 port = 80,
|
||||
bool encrypt = false, QObject *parent = 0,
|
||||
ConnectionType connectionType = ConnectionTypeHTTP);
|
||||
|
|
|
|||
Loading…
Reference in New Issue