summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/assets
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2021-09-09 12:22:55 +0300
committerJuha Vuolle <juha.vuolle@insta.fi>2021-09-09 16:54:13 +0300
commit956e7bbe2109f507807b16a02702427fcaaf3377 (patch)
treebbee64fa90e1ec5e34d023b4211ea65dfb479bf5 /examples/bluetooth/lowenergyscanner/assets
parent3d890fa95579ff57812b350bf14a73d21316ae23 (diff)
Remove error messages on lowenergyscanner example app exit
The QML View was created on heap and outlived the 'device' context property on stack. This resulted in distracting 'null' property access errors on exit. In addition remove unnecessary QML import versioning. Pick-to: 6.2 Change-Id: I5cb7d219582ef8e9a72a3f7e514e78fb16a54e2f Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/assets')
-rw-r--r--examples/bluetooth/lowenergyscanner/assets/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/lowenergyscanner/assets/main.qml b/examples/bluetooth/lowenergyscanner/assets/main.qml
index 2424dbcf..ea3214e2 100644
--- a/examples/bluetooth/lowenergyscanner/assets/main.qml
+++ b/examples/bluetooth/lowenergyscanner/assets/main.qml
@@ -49,7 +49,7 @@
**
****************************************************************************/
-import QtQuick 2.0
+import QtQuick
Rectangle {
id: back