Docu: fix documentation of QHostAddress() default constructor.

In Qt3 this would indeed be equivalent to QHostAddress("0.0.0.0").
But since Qt4, it creates an address of type Null, and
QHostAddress()==QHostAddress("0.0.0.0") is no longer true.

Change-Id: I28025421e77c861783c612c2225be345dad5615a
Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
This commit is contained in:
David Faure 2015-11-05 14:27:49 +01:00
parent ac2e991675
commit 4d9e06fa53

View File

@ -379,7 +379,7 @@ void QNetmaskAddress::setPrefixLength(QAbstractSocket::NetworkLayerProtocol prot
\value Any The dual stack any-address. A socket bound with this address will listen on both IPv4 and IPv6 interfaces.
*/
/*! Constructs a host address object with the IP address 0.0.0.0.
/*! Constructs a null host address object, i.e. an address which is not valid for any host or interface.
\sa clear()
*/