summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2013-12-12 16:58:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-13 10:41:03 +0100
commit07d0e9d579842436b38d7684df3d3bcac179d6fc (patch)
treed05725a675d1c5e93b2703b534e3797eaf74067d
parent6f28f07dce91764b1548957bf07f7959492794e5 (diff)
downloadqtsensors-07d0e9d579842436b38d7684df3d3bcac179d6fc.tar.gz
qtsensors-07d0e9d579842436b38d7684df3d3bcac179d6fc.tar.bz2
qtsensors-07d0e9d579842436b38d7684df3d3bcac179d6fc.zip
Fix code snippet in Qt Sensors QML Types documentation.
Change-Id: I5639fb872b8e41cc5c5b5968cf1ddf7e247961e2 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
-rw-r--r--src/sensors/doc/src/qtsensors5.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sensors/doc/src/qtsensors5.qdoc b/src/sensors/doc/src/qtsensors5.qdoc
index a90694c..7e4bf15 100644
--- a/src/sensors/doc/src/qtsensors5.qdoc
+++ b/src/sensors/doc/src/qtsensors5.qdoc
@@ -52,10 +52,10 @@
If the module is imported into a namespace, some additional methods become available.
\code
- import QtSensors 5.0 as Sensors
+ import QtSensors 5.0
...
Component.onCompleted: {
- var types = Sensors.sensorTypes();
+ var types = QmlSensors.sensorTypes();
console.log(types.join(", "));
}
\endcode