Optimise QHostAddress a little
authorThiago Macieira <thiago.macieira@intel.com>
Mon, 17 Oct 2011 11:46:44 +0000 (13:46 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 23 Mar 2012 18:43:00 +0000 (19:43 +0100)
commitbd384427c437f8e57a6543e7612c9b70ec908ff7
tree1b887b0cd2de52cf4d370e09e648ee8e128b7784
parent1882cf1c9d68e0c325c89f0bdf368b47206f19e0
Optimise QHostAddress a little

In QHostAddress::setAddress(SpecialAddress), avoid parsing strings.

Change-Id: Icb756b4c8b06c21dbc231f8c7f0b0dac29ed97c3
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/network/kernel/qhostaddress.cpp