Fix QHostAddress::operator==(QHostAddress::SpecialAddress) master
authorShane Kearns <shane.kearns@accenture.com>
Wed, 30 Nov 2011 15:42:05 +0000 (15:42 +0000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 30 Nov 2011 18:04:18 +0000 (19:04 +0100)
commit49140efe2d0a31fd529b8e6af09e0df31e3a719c
tree2f85af2d284061c7e6f80a44184be9f2c7a17a60
parent6468dd4179278276d3ad98696b6f761efa397924
Fix QHostAddress::operator==(QHostAddress::SpecialAddress)

QHostAddress(QHostAddress::Any) was not equal to QHostAddress::Any
because only one of the operator== overloads was handling this.

Task-number: QTBUG-22898
Change-Id: Ifd36947a50e8c36362b4e850fd8d5105ee0925ff
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/network/kernel/qhostaddress.cpp
tests/auto/network/kernel/qhostaddress/tst_qhostaddress.cpp