summaryrefslogtreecommitdiff
path: root/src/imports
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/sensors/plugins.qmltypes4
-rw-r--r--src/imports/sensors/sensors.cpp7
2 files changed, 6 insertions, 5 deletions
diff --git a/src/imports/sensors/plugins.qmltypes b/src/imports/sensors/plugins.qmltypes
index 0790533..461ca8f 100644
--- a/src/imports/sensors/plugins.qmltypes
+++ b/src/imports/sensors/plugins.qmltypes
@@ -4,7 +4,7 @@ import QtQuick.tooling 1.1
// It is used for QML tooling purposes only.
//
// This file was auto-generated by:
-// 'qmlplugindump -notrelocatable QtSensors 5.3'
+// 'qmlplugindump -notrelocatable QtSensors 5.4'
Module {
Component {
@@ -51,7 +51,7 @@ Module {
exports: [
"QtSensors/Altimeter 5.1",
"QtSensors/Altimeter 5.2",
- "QtSensors/Altimeter 5.3"
+ "QtSensors/Altimeter 5.4"
]
exportMetaObjectRevisions: [0, 0, 0]
}
diff --git a/src/imports/sensors/sensors.cpp b/src/imports/sensors/sensors.cpp
index 8e52590..bca55fa 100644
--- a/src/imports/sensors/sensors.cpp
+++ b/src/imports/sensors/sensors.cpp
@@ -216,9 +216,10 @@ public:
qmlRegisterType <QmlSensorGesture >(package, major, minor, "SensorGesture");
- // Register the 5.3 interfaces
- // No API changes, just reintroduce existing interfaces for 5.3
- minor = 3;
+ // Register the 5.4 interfaces
+ // No API changes, just reintroduce existing interfaces for 5.2
+ // Implicitly registers 5.3 too
+ minor = 4;
qmlRegisterType <QmlAltimeter >(package, major, minor, "Altimeter");
}
};