summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/imports/sensors/qmlsensorglobal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/sensors/qmlsensorglobal.cpp b/src/imports/sensors/qmlsensorglobal.cpp
index 1cba256..0acf397 100644
--- a/src/imports/sensors/qmlsensorglobal.cpp
+++ b/src/imports/sensors/qmlsensorglobal.cpp
@@ -60,7 +60,7 @@ QT_BEGIN_NAMESPACE
import QtSensors 5.0 as Sensors
...
Component.onCompleted: {
- var types = Sensors.sensorTypes();
+ var types = Sensors.QmlSensors.sensorTypes();
console.log(types.join(", "));
}
\endcode