Fix QUdpSocket bindMode autotest regression
authorShane <shane.kearns@accenture.com>
Wed, 14 Mar 2012 13:18:20 +0000 (13:18 +0000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Mar 2012 17:05:05 +0000 (18:05 +0100)
commit7046188bc6ec56048070f5dc0397d7b3dbbf40b3
tree2c685c89157e616bf947e81724ef1fa311f86ca4
parentb1a8a39d78df374a90566e4f812e636a40e05bf7
Fix QUdpSocket bindMode autotest regression

When binding with the DefaultForPlatform bindmode, then don't set
options on the socket related to sharability, leave them at the
platform default.

This restores compatiblity with Qt 4

Change-Id: I612a3acb976f08446b4eef03ccdcdf84b3477c3c
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
src/network/socket/qabstractsocket.cpp