summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2021-07-01 15:11:38 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-02 07:42:48 +0000
commitbb432489123c434d74cb802ad5dfb50607b0d5db (patch)
tree413bc0b54fc6ea753d933fef2c34ffe6fcf65c6d
parent6eb8d7665f01384d3bb65c68cf0bc250b88cb330 (diff)
Remove unrelated remark from QTiltSensor documentation
The removed part looks like an accidental copy-paste from the QTiltSensor::calibrate() function implementation. Task-number: QTBUG-92512 Change-Id: If706b8d4e8f0ebc83dfe0e87d6baa0134587354f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com> (cherry picked from commit 455e5a973be5f7c3afaff147f4482a69d134b5bd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/sensors/qtiltsensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensors/qtiltsensor.cpp b/src/sensors/qtiltsensor.cpp
index a18b59a5..5c966bb2 100644
--- a/src/sensors/qtiltsensor.cpp
+++ b/src/sensors/qtiltsensor.cpp
@@ -133,7 +133,7 @@ char const * const QTiltSensor::sensorType("QTiltSensor");
\brief The QTiltSensor class is a convenience wrapper around QSensor.
- The only behavioural difference is that this class sets the type properly.QMetaObject::invokeMethod(backend(), "calibrate");
+ The only behavioural difference is that this class sets the type properly.
This class also features a reading() function that returns a QTiltReading instead of a QSensorReading.