summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/sensors2qmlapi/qdeclaccelerometer.h1
-rw-r--r--tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/sensors2qmlapi/qdeclaccelerometer.h b/tests/auto/sensors2qmlapi/qdeclaccelerometer.h
index 5842e01f..0ec2061f 100644
--- a/tests/auto/sensors2qmlapi/qdeclaccelerometer.h
+++ b/tests/auto/sensors2qmlapi/qdeclaccelerometer.h
@@ -54,6 +54,7 @@ public:
, _active(false)
, _sensor(sensor)
{
+ this->addDataRate(10, 50);
}
virtual ~QDeclAccelerometer() {}
diff --git a/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp b/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp
index a80b7263..129dc963 100644
--- a/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp
+++ b/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp
@@ -211,8 +211,6 @@ void tst_Sensors2QMLAPI::testTilt()
QFETCH(int, xRotation);
QFETCH(int, yRotation);
- qDebug() << "check pos: " << pos << " x: " << x << " y: " << y << " z: " << z << " xRot: " << xRotation << " yRot: " << yRotation;
-
if (!_tilt)
_tilt = new QSensor2Tilt(this);