summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/assets/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/assets/main.qml')
-rw-r--r--examples/bluetooth/lowenergyscanner/assets/main.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/bluetooth/lowenergyscanner/assets/main.qml b/examples/bluetooth/lowenergyscanner/assets/main.qml
index 3c4e27ea..cdef49a5 100644
--- a/examples/bluetooth/lowenergyscanner/assets/main.qml
+++ b/examples/bluetooth/lowenergyscanner/assets/main.qml
@@ -44,6 +44,11 @@ Rectangle {
id: back
width: 300
height: 600
+ property string message: device.update
+ onMessageChanged: {
+ if (device.update != "Scanning for devices..." && device.update != "Search")
+ info.visible = false;
+ }
Header {
id: header