diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2014-11-10 11:33:32 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2014-11-11 09:16:04 +0100 |
commit | 56ed37e8da233010f27624f40a76b9ebcbf36707 (patch) | |
tree | ea507390fc1745a4b4866aa6d1aaed36a3894b83 | |
parent | daba4737a9e1c43bb6284f235428cd04e2d8b938 (diff) | |
download | qtconnectivity-56ed37e8da233010f27624f40a76b9ebcbf36707.tar.gz |
Fix QLEController::connectToDevice() documentation
A logical condition was inverted.
Change-Id: Ia7b54fe75a8cea4275e3c92c6283bc12f3423b64
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-rw-r--r-- | src/bluetooth/qlowenergycontroller.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bluetooth/qlowenergycontroller.cpp b/src/bluetooth/qlowenergycontroller.cpp index f3ae2654..3d57ec6b 100644 --- a/src/bluetooth/qlowenergycontroller.cpp +++ b/src/bluetooth/qlowenergycontroller.cpp @@ -475,7 +475,7 @@ void QLowEnergyController::setRemoteAddressType( Connects to the remote Bluetooth Low Energy device. This function does nothing if the controller's \l state() - is \l UnconnectedState. The \l connected() signal is emitted + is not equal to \l UnconnectedState. The \l connected() signal is emitted once the connection is successfully established. \sa disconnectFromDevice() @@ -503,6 +503,8 @@ void QLowEnergyController::connectToDevice() Once any of those objects become invalid they remain invalid even if this controller object reconnects. + This function does nothing if the controller is in the \l UnconnectedState. + \sa connectToDevice() */ void QLowEnergyController::disconnectFromDevice() |