summaryrefslogtreecommitdiff
path: root/tests/manual/sensorclerk/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/sensorclerk/qml/main.qml')
-rw-r--r--tests/manual/sensorclerk/qml/main.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/manual/sensorclerk/qml/main.qml b/tests/manual/sensorclerk/qml/main.qml
index e8b74ff..b55b53a 100644
--- a/tests/manual/sensorclerk/qml/main.qml
+++ b/tests/manual/sensorclerk/qml/main.qml
@@ -25,10 +25,10 @@
** $QT_END_LICENSE$
**
****************************************************************************/
-
-import QtQuick 2.0
-import Collector 1.0
-import QtSensors 5.0
+import QtQuick
+import QtQuick.Controls
+import Collector
+import QtSensors
Rectangle {
Collector {
@@ -47,7 +47,7 @@ Rectangle {
property bool depressed: false
anchors.top: label.bottom
enabled: true;
- anchors.horizontalCenter: parent
+ anchors.horizontalCenter: parent.horizontalCenter
onClicked: {
if (!depressed) {
writer.startCollecting()