diff options
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/assets')
-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; } |