summaryrefslogtreecommitdiffstats
path: root/src/sensorsquick/qmllidsensor.cpp
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2021-06-03 13:12:52 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-15 09:39:02 +0000
commit3fc0d1114a17d37a84ffc620394180c19a579deb (patch)
treebfbfa0feebff3a297249c119e31d673c023ef513 /src/sensorsquick/qmllidsensor.cpp
parentc78da1f24bffc910b3f318c28a484c9179bbb405 (diff)
Increase QtSensors QML autotest coverage
This commit introduces QML based auto tests in order to increase the autotest coverage. Additionally the QML sensor activity handling is fixed which caused the newly added tests to fail. There are also long-standing bugs about these activeChanged() double emits. Task-number: QTBUG-92514 Task-number: QTBUG-70770 Task-number: QTBUG-80755 Change-Id: I98f036f665a056c441efa00aab76ec47bc628057 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 54b3ca67ad7230a21d76c581dd4287401acb230f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/sensorsquick/qmllidsensor.cpp')
-rw-r--r--src/sensorsquick/qmllidsensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensorsquick/qmllidsensor.cpp b/src/sensorsquick/qmllidsensor.cpp
index 3725f0ca..698c03cc 100644
--- a/src/sensorsquick/qmllidsensor.cpp
+++ b/src/sensorsquick/qmllidsensor.cpp
@@ -112,7 +112,7 @@ QmlLidReading::~QmlLidReading()
Please see QLidReading::backLidClosed for information about this property.
*/
-bool QmlLidReading::backLidChanged() const
+bool QmlLidReading::backLidClosed() const
{
return m_backClosed;
}