Synchronize setting of QBluetoothSocket's error string, code and signal
authorAlex Blasche <alexander.blasche@digia.com>
Tue, 28 Jan 2014 09:13:28 +0000 (10:13 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 30 Jan 2014 13:22:56 +0000 (14:22 +0100)
commit039982cfa41515fbf559a4e3645aab14f77ee447
treef878d4e11b08c70e98a55eff5c16646414d5b695
parent7f6c59623c535fcd2075464e3870e9897c3f5f2b
Synchronize setting of QBluetoothSocket's error string, code and signal

This fixes a few cases where errorString, error signal and error code
where out of sync because one was set but not the other. This was
addressed by unifying the usage pattern for error activation to a
pattern where errorString is set and setSocketError() is called
afterwards.

Change-Id: Ibfb04772cf560936aa4ce8ea9643d6a410cc9ee2
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
src/bluetooth/qbluetoothsocket.cpp
src/bluetooth/qbluetoothsocket_bluez.cpp
src/bluetooth/qbluetoothsocket_qnx.cpp