diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2013-09-19 20:27:00 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-20 13:36:35 +0200 |
commit | ac2edceb02a61c1d670312385b1d709417961799 (patch) | |
tree | 3195e852c3ba79890ca187fce2373d5fe9f76a99 /src/imports/bluetooth/qdeclarativebluetoothdiscoverymodel_p.h | |
parent | 559c648e41a5a3b33127fd3a786934bff7ecf828 (diff) |
Refactor device and service discovery errors
- Make them more consistent with other Qt modules
- Propagate the error during device discovery to the QBluetoothServiceDiscoveryAgent
Change-Id: Idcd3e0e6061b85e8b6adad248625740f3b91289a
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/imports/bluetooth/qdeclarativebluetoothdiscoverymodel_p.h')
-rw-r--r-- | src/imports/bluetooth/qdeclarativebluetoothdiscoverymodel_p.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/imports/bluetooth/qdeclarativebluetoothdiscoverymodel_p.h b/src/imports/bluetooth/qdeclarativebluetoothdiscoverymodel_p.h index a675f1ce..feb1a5e1 100644 --- a/src/imports/bluetooth/qdeclarativebluetoothdiscoverymodel_p.h +++ b/src/imports/bluetooth/qdeclarativebluetoothdiscoverymodel_p.h @@ -89,9 +89,8 @@ public: enum Error { NoError, - IOFailure, - PoweredOffFailure, - DeviceDiscoveryError, + InputOutputError, + PoweredOffError, UnknownError }; |