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:
parent
ac2e991675
commit
4d9e06fa53
@ -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()
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user