diff options
author | Nedim Hadzic <nhadzic@blackberry.com> | 2014-03-08 14:19:55 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-10 09:31:41 +0100 |
commit | 10126f30e5f5dec0c13ed11ae302a76bc5fa6da0 (patch) | |
tree | 16b50feb099b04e57d6fba55f93dbe945c309921 /examples/bluetooth/lowenergyscanner/assets/main.qml | |
parent | 649f3519a15ac5b5181e74b8680fe0a238bb6602 (diff) |
BLE scanner search bar fix
During device scan, search bar was gone after device is added
and device scan was not yet done.
Change-Id: I39bd7fc1c3f8c22a93921313d818ba1cd00363a0
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/assets/main.qml')
-rw-r--r-- | examples/bluetooth/lowenergyscanner/assets/main.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/bluetooth/lowenergyscanner/assets/main.qml b/examples/bluetooth/lowenergyscanner/assets/main.qml index cdef49a5..c7c201e8 100644 --- a/examples/bluetooth/lowenergyscanner/assets/main.qml +++ b/examples/bluetooth/lowenergyscanner/assets/main.qml @@ -44,9 +44,9 @@ Rectangle { id: back width: 300 height: 600 - property string message: device.update - onMessageChanged: { - if (device.update != "Scanning for devices..." && device.update != "Search") + property bool deviceState: device.state + onDeviceStateChanged: { + if (!device.state) info.visible = false; } |